• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC con with Oracle8i & MySql5.0 in swing

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.)
 
reply
    Bookmark Topic Watch Topic
  • New Topic