Why do I have to open a new database everytime I need to begin a transaction
?
I have to :

[CODE]
Database db = new Database();
db.open("OJB/repository.xml", Database.OPEN_READ_WRITE);
Transaction tx = _odmg.newTransaction();
tx.begin();
[/CODE]

How does the Broker do the association of tx with db ?
I would like to open only one database and then use it with every
transactions I may need.

Thanks.
Gon�alo D. Luiz ([EMAIL PROTECTED]) | Tlm: 933 480 059




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to