BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

User Profile to Access DB

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases
View previous topic :: View next topic  
Author Message
P
Guest





PostPosted: Tue Feb 06, 2007 11:35 pm    Post subject: User Profile to Access DB Reply with 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?

Thank you,
pez
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Wed Feb 07, 2007 1:22 am    Post subject: Re: User Profile to Access DB Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.