File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to get SID of Connection From Java.
Joined: Jun 19, 2008
Jan 06, 2010 07:48:41
I need to get the SID of each connection which is created using
I saw Connection SID in toad, which is unique for each connection.(
I am not talking with the SID value that specified in tnsentry
I need to get that information from java program itself, is it possible. if yes, please help.
I need to find which connection from the POOL is being used by the program to execute different SQL statement.
Bennet Xavier X.
Joined: Dec 20, 2006
Jan 06, 2010 08:17:43
Do these help (toad suggests you use Oracle)?
select instance_name from v$instance
select name from v$database
OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: How to get SID of Connection From Java.
issue when calling shell script from java
How to pass JDBC parms into JAVA program
Network Adapter Problem
Java to Display Data from Database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014