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

Guillaume Chauvet updated OPENJPA-2385:
---------------------------------------

    Attachment: OPENJPA-2385.zip

Attached, please find a unitary test that reproduce the issue.
                
> PrePersist/PreUpdate not invoked
> --------------------------------
>
>                 Key: OPENJPA-2385
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2385
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.0, 2.2.1, 2.2.2, 2.2.3
>            Reporter: Guillaume Chauvet
>         Attachments: OPENJPA-2385.zip
>
>
> In the OpenJPA user manual, section 3.1 " Callback Methods" we read this :
> PrePersist: Methods marked with this annotation will be invoked before an 
> object is persisted. This could be used for assigning primary key values to 
> persistent objects. This is equivalent to the XML element tag pre-persist.
> But this is not the behavior obtained.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to