jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Pfister <dominique.pfis...@day.com>
Subject Re: Prepare/commit
Date Tue, 12 Apr 2005 14:30:44 GMT
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.

Kind regards

View raw message