This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes How to access database without using the Connection object? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "How to access database without using the Connection object?" Watch "How to access database without using the Connection object?" New topic
Author

How to access database without using the Connection object?

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
How to access database without using the Connection object?


Abhishek
Martin Simons
Ranch Hand

Joined: Mar 02, 2006
Posts: 196
There is no standard way, but I assume you could use JNI and some software client on the machine, or, if you are really versed in the DBs protocol, you could open a socket communicate with the database directly, but neither of these are truely feasable, but they are possible.

What exactly is it that you need to do that you cannot use a Connection object, or what is it you are problems with, that you are assuming comes from using the Connection Object?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to access database without using the Connection object?
 
Similar Threads
Using JDBC to discover dbase information
Database Connection and Session
access to database
Local and remote database connection
JPA + stored procedures + EntityManager