This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

Database path

Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45
Hi,

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>
 
Have you checked out Aspose?
 
subject: Database path
 
It's not a secret anymore!