Hi!

OJB and ODMG is new for me, but not OR-Mapping!
I have questions about fundamental principles 
of the ODMG-concepts/the OJB-Implementation:

BINDING OF TRANSACTIONS AND THREADS

Can I use the ODMG-API within a J2EE-EJB-Container?
I am wondering if this can be true, when ODMG-Transactions 
are bound to threads, since I can not control the thredas 
of the EJB-Container. Maybe one thread starts two transactions or
two threads use one transaction.

BINDING OF TRANSACTIONS AND PERSISTENT OBJECTS

If I store or update an object, it seems as if I always have 
to use the transaction.lock method. By doing this I bind the 
current object to the transaction.
I am wondering how an ODMG-implementation, e.g. OJB,
knows which objects belong to which transaction, 
if those objects are not bound to the transaction with the lock method.

Example: see use case delete object of the ODMG-Tutorial (2) of OJB.
Maybe I want to initiate two!! transactions and delete two objects among
other things.
If one transaction fails and the other succeeds which objects are deleted?
none? first? second? all?

Is the deletion independent of any transaction and
is it not possible to bind the deletion to other things in a transaction?



Is there any documentation of the ODMG concepts available online?

best regards 

Thorsten van Ellen



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

Reply via email to