openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer" <techhu...@gmail.com>
Subject Re: How to annotate a positional List
Date Fri, 10 Oct 2008 14:03:58 GMT
Kevin,

I opened JIRA OPENJPA-743
(https://issues.apache.org/jira/browse/OPENJPA-743) for the issue you
discovered where an OptimisticLockException is thrown when the Lob
field was not being set.  Apparently, when statement batching is
enabled, Oracle does not like the mix of parameter types/values
OpenJPA provides for null vs. non-null Lob fields.  I'll look into the
issue and hope to resolve it soon.  Until a fix is available, if you
need to store null values in a Lob field you may need to disable
statement batching.  The JIRA has details for disabling statement
batching.

-Jeremy

Mime
View raw message