You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2009/10/01 19:46:23 UTC

[jira] Commented: (OPENJPA-1068) Support Bean Validation: Entity validation upon lifecycle events

    [ https://issues.apache.org/jira/browse/OPENJPA-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761281#action_12761281 ] 

Pinaki Poddar commented on OPENJPA-1068:
----------------------------------------

Is the following a bug in ValidatingLifeCycleManager and its correction?

@@ -75,7 +74,7 @@
-        return _validator.validating(source, LifecycleEvent.BEFORE_PERSIST) ||
+        return _validator.validating(source, LifecycleEvent.BEFORE_UPDATE) ||

@@ -84,7 +83,7 @@
-        return _validator.validating(source, LifecycleEvent.BEFORE_UPDATE) ||
+        return _validator.validating(source, LifecycleEvent.BEFORE_PERSIST) ||


> Support Bean Validation: Entity validation upon lifecycle events
> ----------------------------------------------------------------
>
>                 Key: OPENJPA-1068
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1068
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jpa
>    Affects Versions: 2.0.0-M2
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>             Fix For: 2.0.0-M2
>
>
> This task is to add support for basic lifecycle validation capabilities in the kernel and pluggable validation in the persistence layer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.