 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
P Guest
|
Posted: Tue Feb 06, 2007 11:35 pm Post subject: User Profile to Access DB |
|
|
Hello,
I wish to access a profile file located on the local machine, and use that info for loggin into a database. I do not want to make connecting to the DB automatic by coding the connection into JBuilder, each user will have different rights and different Databases to access. Does anyone know how to do such a thing?
Thank you,
pez |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Wed Feb 07, 2007 1:22 am Post subject: Re: User Profile to Access DB |
|
|
P wrote:
| Quote: |
Hello,
I wish to access a profile file located on the local machine, and use that info for loggin into a database. I do not want to make connecting to the DB automatic by coding the connection into JBuilder, each user will have different rights and different Databases to access. Does anyone know how to do such a thing?
|
The best bet is to store the database URL in a properties file. See the
java.util.Properties class for details.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|