File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "about jdbc connection" Watch "about jdbc connection" New topic
Author

about jdbc connection

venkat suresh
Greenhorn

Joined: Mar 23, 2006
Posts: 1
hi,
I am new to jdbc, how to connect with either SQL or oracle. Plz give me details of clearly...
thanks..
Masoud Kalali
Author
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 :

http://www.javaolympus.com/index.jsp


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