Hello Marina,
I am not sure how this fellow believes he is getting nested transactions. There are no nested transaction API's in TopLink Essentials. The only thing that I can imagine is use of multiple Application Persistence Contexts or perhaps a creative use of clear as rollback. He may have misinterpreted some source. I saw this email on the EJB 3.0 feedback mailing list but there is no specifics on how nested transactions would be achieved. I am curious to know how he has invisioned it.
--Gordon
-----Original Message-----
From: Marina Vatkina [mailto:Marina.Vatkina_at_Sun.COM]
Sent: Tuesday, April 04, 2006 5:39 PM
To: persistence
Subject: [Fwd: Comment on Nested Transactions]
Peter, Tom,
What kind of nested transactions does TopLink support in Glassfish?
Is it possible to use EM apis for that?
thanks,
-marina
-------- Original Message --------
From: Don Brady <dbrady_at_comintel.com>
Subject: Comment on Nested Transactions
It appears that the Glassfish / Oracle reference implementation does/will
support nested transactions. Inner transactions are committed to the
containing transaction. Actual writing to the database is performed only
when the outermost transaction is committed.
However, I can find no reference to nested transactions in the PFD itself.
Also, it appears that Hibernate and Kodo do not/ will not support them.
It would be nice to see at least some discussion of nested transaction in
the final draft, even if it just says that such support is optional.
Thanks,
Don Brady
Comintel Inc.
dbrady_at_comintel.com
919-469-8565