openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Chauvet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2385) PrePersist/PreUpdate not invoked
Date Thu, 23 May 2013 09:51:19 GMT

     [ 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

Mime
View raw message