File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC con with Oracle8i & MySql5.0 in swing

 
vikram malihan
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers...
I'm using JAVA Swing and want to use "Oracle8i" or MySql5.0" as a data base and the webserver using is Apache Tomcat. I have completed the project in Ms-Acces but i want to use "Oracle8i" or MySql5.0"

1. I have no idea for Dreiver name and any aditional file required for the connection with "Oracle8i" & MySql5.0".

2. and whitch conection string to write in "DriverManager.getConnection (???)"

3 can we make DSN for "Oracle8i" & MySql5.0" too. if yes what are the steps for making DSN in windows envirenment

Now ranchers.. You all requested to help me, to do.. so
if we want to edit some configuration file. also .. help me to do so..

Thanks in advance

regards

vikram
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

1. I have no idea for Dreiver name and any aditional file required for the connection with "Oracle8i" & MySql5.0".

Depends on the driver you use. Oracle comes with a driver - read the "JDBC Developer's Guide and Reference" to find out how to use it. MySQL has this. Again you should really read the accompanying documentation to get you going.


2. and whitch conection string to write in "DriverManager.getConnection (???)"

This will be covered in your Driver's documentation.


3 can we make DSN for "Oracle8i" & MySql5.0" too. if yes what are the steps for making DSN in windows envirenment

Use a type 4 driver - then you won't need any other configuration.



(BTW: Oracle 8i isn't supported any more. If you wan't to use Oracle, the oldest version you should be using is 9i.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic