Sponsored Content
Full Discussion: using jdbc:thin in bash
Top Forums Shell Programming and Scripting using jdbc:thin in bash Post 302488543 by durden_tyler on Monday 17th of January 2011 03:50:25 PM
Old 01-17-2011
Quote:
Originally Posted by gdan2000
the question is how I can implement it in bash script...
Well, that's a JDBC url, so it would be understood only by the Java compiler i.e. in a Java program. You could also use that syntax in languages that are bytecode-compatible with Java e.g. Scala, Groovy etc.

Bash shell does not fall in any of those categories, so you cannot *implement* it in Bash script per se, but you can write a Bash script that calls a compiled Java class that uses the JDBC syntax.

tyler_durden
 

8 More Discussions You Might Find Interesting

1. Linux

configuring same /bash for 4 computer which is thin client

i m doing project on LAN TELEPHONY in Red Hat linux i have files as datbase to store the user name and passeord an all other information. Now i have thin client at my college. so to access /dev/dsp for audio is not possible on server. So i have written code which run on /base since it has... (0 Replies)
Discussion started by: niravuchat
0 Replies

2. SCO

Please help.Thin clients connecting to SCO.

Hi thank you for your help in advance, I am running SCO 5.0.6 with 75 user license And I have thin clients connected (around 50 no.) to it through a terminal server.The problem is that when the thin clients are terminated abnormally it takes a lot of time for me to conect to the SERVER again and... (1 Reply)
Discussion started by: Chaitu.a
1 Replies

3. SuSE

postgresql-jdbc on Suse

Hi, I am writing a Java Swing application and want to add Embedded SQL to it. The application should interact with a PostgreSQL database running on my local machine. The compiler complains that it cannot find the org.postgresql package included in the code. I'm guessing the problem is that... (0 Replies)
Discussion started by: marina
0 Replies

4. Linux

BOOTP on HP Thin clients

Please m new around here! Can anyone take me thru implementing bootp on my thin clients via my central server? Preciate ur assistance. Thanks folks! (2 Replies)
Discussion started by: chuk_uka
2 Replies

5. Shell Programming and Scripting

Unix to Sql Server via JDBC

I am trying to connect SQL SERVER VIA JDCB. Following is something I tried and will appreciate any help what I am doing wrong Here's what I did, I tried several variations, but I keep getting this error: Exception in thread "main" java.sql.SQLException: Unable to connect. Invalid URL I... (1 Reply)
Discussion started by: cqldba
1 Replies

6. Ubuntu

JDBC Connection

Hi, I am using ubuntu os.I need some information about JDBC connection. 1.how to connect eclipse with apache tomcat server 2.I am using mysql database,how to to find the database location 3.How to set the classpath 4.How to connect Mysql with java using eclipse.I need step by step procedure... (1 Reply)
Discussion started by: snallusami
1 Replies

7. AIX

Thin clients for AIX desktop

Hello, I've been on Sun gear for years, using Sun Rays. With the news that Sun Ray is to be discontinued, I've taken an interest in researching other thin client solutions. I'm interested in using the thin clients on Solaris/SPARC, but also in future, quite possibly on AIX. So, what simple thin... (8 Replies)
Discussion started by: thegman
8 Replies

8. Linux

Converct fat pc to thin client

I have old pc with 1gb ram and i wont to convert him to thin clint to connect rdp windos With software i need to install on my computer? I am new in linux.. Sent from my SM-J5108 using Tapatalk (10 Replies)
Discussion started by: popcoern
10 Replies
DACS.JAVA(7)						  DACS Miscellaneous Information					      DACS.JAVA(7)

NAME
dacs.java - DACS Java support DESCRIPTION
This document describes support for Java provided by DACS. To enable Java support, DACS must be configured using the --enable-java flag. It may also be necessary to specify the location of the Java commands and include files. See dacs.install(7)[1]. Note Java support is currently very limited and should be considered experimental. It is currently only possible to call dacsauth(1)[2] and dacscheck(1)[3] using the Java Native Interface (JNI) provided. The command line arguments to both of these commands are exactly as documented in their manual pages. Each argument is passed as a String. The code is not thread-safe and is probably not suitable for being called many times within a particular process due to assumptions it makes about dynamic memory allocation. There are no immediate plans to improve or extend Java support. Using the existing capability to build the JNI layer, however, it should not be difficult for an experienced Java programmer to build upon the example Java code provided. With Java support enabled, building DACS will copy the JNI shared library and a .jar file to the library directory (default: /usr/local/dacs/lib), and the JNI include files to the include directory (default: /usr/local/dacs/include). The tools/java/jni distribution directory contains a simple script called javarun that demonstrates how to run dacsauth or dacscheck as a Java application. For example, to validate the Unix password for user somebody, run (as root): ./javarun dacsauth -m unix suff -user somebody -prompt DIAGNOSTICS
The return codes are as documented in the command's manual page. AUTHOR
Distributed Systems Software (www.dss.ca[4]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[5] file that accompanies the distribution for licensing information. NOTES
1. dacs.install(7) http://dacs.dss.ca/man/dacs.install.7.html 2. dacsauth(1) http://dacs.dss.ca/man/dacsauth.1.html 3. dacscheck(1) http://dacs.dss.ca/man/dacscheck.1.html 4. www.dss.ca http://www.dss.ca 5. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACS.JAVA(7)
All times are GMT -4. The time now is 03:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy