Jira issue originally created by user skl:
If lifecycle callbacks are added to XML metadata like so:
<lifecycle-callback type="prePersist" method="validate" />
<lifecycle-callback type="preUpdate" method="validate" />
The validate() method will appear twice in an entity generated from this metadata.
Comment created by @beberlei:
Issue was closed with resolution "Fixed"