JDBC’s Database naming rules:

•JDBC uses particular syntax to name a database to use. The general appreciated convention is:
•Protocol : sub protocol : sub name
•Here the protocol is JDBC, the sub protocol field is the name of jdbc driver and sub name is dependent on jdbc driver.
•jdbc:odbc:yourdb is a way to name the database.
•jdbc:odbc:yourdb;UID=user;PWD=passwd is perfect way
•jdbc:yourdbdrv://www.yourdomain.com:8080/yourdb

No comments:

Post a Comment