[jira] Created: (OPENJPA-1362) Getting incorrect exception: InvalidStateException: Attempt to set column "xxx.version" to two different values...

2 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Created: (OPENJPA-1362) Getting incorrect exception: InvalidStateException: Attempt to set column "xxx.version" to two different values...

Reply Threaded More More options
Print post
Permalink
Getting incorrect exception:  InvalidStateException: Attempt to set column "xxx.version" to two different values...
-------------------------------------------------------------------------------------------------------------------

                 Key: OPENJPA-1362
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1362
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 1.2.1
            Reporter: Matthew T. Adams


When updating a field in a @PreUpdate method, getting bogus InvalidStateException: Attempt to set column "xxx.version" to two different values..." exception in the attached test case.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-1362) Getting incorrect exception: InvalidStateException: Attempt to set column "xxx.version" to two different values...

Reply Threaded More More options
Print post
Permalink

     [ https://issues.apache.org/jira/browse/OPENJPA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew T. Adams updated OPENJPA-1362:
--------------------------------------

    Attachment: case-sandbox.zip

Test case attached.

> Getting incorrect exception:  InvalidStateException: Attempt to set column "xxx.version" to two different values...
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1362
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1362
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Matthew T. Adams
>         Attachments: case-sandbox.zip
>
>
> When updating a field in a @PreUpdate method, getting bogus InvalidStateException: Attempt to set column "xxx.version" to two different values..." exception in the attached test case.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.