openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1068) Support Bean Validation: Entity validation upon lifecycle events
Date Thu, 01 Oct 2009 17:46:23 GMT

    [ 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.


Mime
View raw message