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
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
 
 
subject: about jdbc connection
 
Similar Threads
Loading file data into a DB2 table using java
WA #1.....word association
Need guidance for SCJD exam preparation
java sql parser
Need help to write a bot to collect data from internet.