On Sep 6, 6:03 am, Rob Bygrave <
robin.bygr...@gmail.com> wrote:
> >> Is there a way to disable Optimistic Locking?
>
> No in that there is no deployment annotation to set the default concurreny
> checking more on a particular bean type to None (rather than Version or
> All).
Not sure I understand this. Are you referring to a JPA annotation?
I threw in a Version column and it's working now. The entity has
several timestamp columns so I imagine the update was failing due to
precision issues.
Here's an enhancement idea: it seems the logging line for the bound
values gets written after successful execution of the query. If the
query fails, we don't get to see the values that were bound. Can this
be changed? Write the bind line before executing the query?
Thanks.
/Daryl