jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Röthenbacher <felix.roethenbac...@wyona.com>
Subject Re: Prepare/commit
Date Tue, 12 Apr 2005 16:36:58 GMT
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
> 

Mime
View raw message