wood burning stoves 2.0
The moose likes JDBC and Relational Databases and the fly likes about jdbc connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "about jdbc connection" Watch "about jdbc connection" New topic

about jdbc connection

venkat suresh

Joined: Mar 23, 2006
Posts: 1
I am new to jdbc, how to connect with either SQL or oracle. Plz give me details of clearly...
Masoud Kalali
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

there are alot of sample in the web .
but as an example here :

take a look at this code :

this will connect to mysql
the rule are the same for sql server and oracle .just driver and url will be different.
the above class is almost a complete class for jdbc connection management.

for more information look at :


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
I agree. Here's the link: http://aspose.com/file-tools
subject: about jdbc connection
It's not a secret anymore!