[
https://issues.apache.org/jira/browse/OPENJPA-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Albert Lee closed OPENJPA-1984.
-------------------------------
> Incorrect ViolationContraint getRootBean when removing bean with embedded
> entity validation
> -------------------------------------------------------------------------------------------
>
> Key: OPENJPA-1984
> URL: https://issues.apache.org/jira/browse/OPENJPA-1984
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Affects Versions: 2.1.0, 2.1.1, 2.2.0
> Reporter: Albert Lee
> Assignee: Albert Lee
> Priority: Minor
> Fix For: 2.2.0
>
>
> When bean validation is performed during em.remove() against an entity with
> embedded entity and if the failing constraint occurred in the embedded
> entity, the root bean set in the ValidationConstraint returns in the
> ViolationConstraintException is incorrectly set to the embbedded entity,
> whereas the top level entity is expected.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira