This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Database path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database path" Watch "Database path" New topic

Database path

Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45

How can I make the following line "drive independent":

I am looking for the java equivalent of of Visual Basic or something similar.

Any sorta help wud b gr8ly appreciated
[ October 11, 2005: Message edited by: Mamu Jan ]

There is no patch for ignorance...
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
What do you mean by "drive independent"?

One way I could think of, configure a connection pool and use a datasource to lookup for connections.

Cheers!<br /><b>Annie</b>
It is sorta covered in the JavaRanch Style Guide.
subject: Database path
Similar Threads
for loop question
assignments and + operator
Access a variable
JSP called from filter not finding JavaScript file