openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OPENJPA-1984) Incorrect ViolationContraint getRootBean when removing bean with embedded entity validation
Date Wed, 27 Apr 2011 18:50:03 GMT

     [ 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

Mime
View raw message