Hi,
----- Original Message -----
From: "Thimo K�nig" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 8:35 AM
Subject: RE: Password DataBase
> My question is about the password to conect to DataBase.
Me too I wonder if it is OK to put the pwd as cleartext in the
repository.xml. Is there another way?
#######
There is no need to put user/pwd in the repository file.
Use PBKey to pass user/pwd information
using PB-api
PBKey user_1 = new PBKey(jcdAlias,User_1, passwd);
PersistenceBroker broker =
PersistenceBrokerFactory.createPersistenceBroker(user_1);
...
ODMG-api:
Implementation odmg = OJB.getInstance();
Database db = odmg.newDatabase();
db.open("jcdAlias#user_1#passwd", Database.OPEN_READ_WRITE);
...
regards,
Armin
Thimo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]