wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 App.drive/App.path 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: http://aspose.com/file-tools
subject: Database path