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
jstack(1)						      General Commands Manual							 jstack(1)

NAME
jstack - stack trace SYNOPSIS
jstack [ option ] pid jstack [ option ] executable core jstack [ option ] [server-id@]remote-hostname-or-IP DESCRIPTION
jstack prints Java stack traces of Java threads for a given Java process or core file or a remote debug server. For each Java frame, the full class name, method name, 'bci' (byte code index) and line number, if available, are printed. With the -m option, jstack prints both Java and native frames of all threads along with the 'pc' (program counter). For each native frame, the closest native symbol to 'pc', if available, is printed. C++ mangled names are not demangled. To demangle C++ names, the output of this command may be piped to c++filt. NOTE - This utility is unsupported and may or may not be available in future versions of the J2SE SDK. jstack is not currently available on Windows platforms or on the Linux Itanium platform. PARAMETERS
Options are mutually exclusive. Option, if used, should follow immediately after the command name. pid process id for which the stacktrace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps may be used. executable Java executable from which the core dump was produced. core core file for which the stack trace is to be printed. remote-hostname-or-IP remote debug server's (see jsadebugd) hostname or IP address. server-id optional unique id, if multiple debug servers are running on the same remote host. OPTIONS
-m prints mixed mode (both Java and native C/C++ frames) stack trace. -h Prints a help message. -help Prints a help message. SEE ALSO
pstack(1) c++filt(1) jps(1) jsadebugd(1) KNOWN BUGS
Mixed mode stack trace, the -m option, does not work with the remote debug server. 13 June 2004 jstack(1)
All times are GMT -4. The time now is 05:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy