connecting java with oracle 9i database
hi
when trying to connect to oracle database using getConnection() I need to specify the url,username,pasword. How can i get the url?
Thanks.
Regards,
Web Development
hi
when trying to connect to oracle database using getConnection() I need to specify the url,username,pasword. How can i get the url?
Thanks.
Regards,
by dpotter
The url will depend on the type of jdbc driver that you are using.
If you are using a 'thin' JDBC driver the url will be:
jdbc:oracle:thin:@:1521:
See link for more information.
http://www.orafaq.com/faqjdbc.htm#THIN
when I am trying to connect java with oracle 9i
exception occure with driver.
class.ForName("oracle.jdbc.driver.OracleDriver")
This discussion is closed to new replies.
Sort by Trending