This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2476


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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: String url for Connection
Similar Threads
Opening secured URL connection
call servlet from simple java file.
Class not found exception
JDBC Tye 2 Driver
JDBC driver string