Dominique Pfister wrote:
Hi Felix,
Felix R�thenbacher wrote:
Hi
If workspace modifications are commited in the context of a
transaction, will 'prepare' check that all conditions for a
successful commit are satisfied (e.g. re ConstraintViolationException,
PathNotFoundException, etc.)?
Constraints are checked once when the specific method is invoked; if
some constraint is violated, an exception is immediately thrown (same
for PathNotFoundException).
Right now, XASessionImpl's XAResource#prepare is a no-op and referential
integrity is checked only on XAResource#commit.
Thanks for sheding light on this!
Kind Regards
Felix
Kind regards
Dominique