This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes String url for Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "String url for Connection" Watch "String url for Connection" New topic

String url for Connection

ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198


Can anyone tell me the how can we form the string url for connection to the database .
Jan Cumps

Joined: Dec 20, 2006
Posts: 2491


this string is specific for the database that you use. Each database vendor has it's own url.
How this url looks like is documented in the database JDBC driver documentation.

OCUP UML fundamental and ITIL foundation
youtube channel
Don't get me started about those stupid light bulbs.
subject: String url for Connection
Similar Threads
JDBC driver string
JDBC Tye 2 Driver
Opening secured URL connection
call servlet from simple java file.
Class not found exception