Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDBC Connection - Database Session

Status
Not open for further replies.

bsuribabu

Programmer
Apr 4, 2002
25
IN
Hi all,

Can i make a equation like
One JDBC Connection = One Database Session

Suri
 
You should be able to. All that you are doing is creating an alias for a preexisting database connection.
 
You can use a static instance of a class in which you would have java.sql.Connection type variable that would be private. And synchronise on the connection object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top