persistence@glassfish.java.net

[Fwd: Comment on Nested Transactions]

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 04 Apr 2006 14:39:13 -0700

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