users@jpa-spec.java.net

[jpa-spec users] [jsr338-experts] Re: converter errors

From: Linda DeMichiel <linda.demichiel_at_oracle.com>
Date: Fri, 04 May 2012 11:45:11 -0700

On 5/3/2012 11:59 AM, michael keith wrote:
> Yes (if transaction exists).
>

Yes, and if the persistence context is joined to it.

> On 03/05/2012 1:32 PM, Linda DeMichiel wrote:
>> Our TCK engineer has pointed out to me that the spec doesn't
>> define what happens if a converter throws an exception.
>>
>> I would propose that the persistence provider wrap the exception in a
>> PersistenceException and mark the transaction for rollback.
>>
>> Other opinions?
>>
>> -Linda
>>
>>
>>