File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Database path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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>
I agree. Here's the link:
subject: Database path
It's not a secret anymore!