Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC Connection Strings

843859Jun 11 2006 — edited Jun 11 2006
I've been studying JDBC for months now and have worked on some test projects...but in all e-books and tutorials I've read so far they only teach me ODBC connection, where I had to set up my System DSN to make the connection work.

Can you guys show a sample code of how to connect by just using a connection string(like in ASP/ADO)? I'm using either MSAccess or SQLServer for back-end so an example for each would be greatly appreciated....thank you. :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2006
Added on Jun 11 2006
3 comments
114 views