aspose 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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
Need guidance for SCJD exam preparation
Need help to write a bot to collect data from internet.
java sql parser
Loading file data into a DB2 table using java
WA #1.....word association