You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2009/06/05 22:58:07 UTC
[jira] Commented: (OPENJPA-1114) Bean Validation APIs should be an
optional runtime dependency
[ https://issues.apache.org/jira/browse/OPENJPA-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716750#action_12716750 ]
Donald Woods commented on OPENJPA-1114:
---------------------------------------
Some details about the included logging/tracing:
- If the BV APIs are not on the classpath or ValidationMode=NONE, then nothing will get logged unless you have TRACE enabled.
- If you have the BV APIs but not a provider, then you'll get a warning in the log.
- If you have validation mode = CALLBACK but either the BV API or Impl is missing, then you'll get a error in the log and eventually a fatal exception once OPENJPA-1111 is resolved.
> Bean Validation APIs should be an optional runtime dependency
> -------------------------------------------------------------
>
> Key: OPENJPA-1114
> URL: https://issues.apache.org/jira/browse/OPENJPA-1114
> Project: OpenJPA
> Issue Type: Sub-task
> Components: validation
> Reporter: Donald Woods
> Assignee: Donald Woods
> Fix For: 2.0.0-M2
>
> Attachments: OPENJPA-1114.patch, OPENJPA-1114.patch
>
>
> Bean Validation APIs should be an optional runtime dependency by using reflection to determine if the APIs are available before accessing our ValidatorImpl class or any javax.validation.* API classes.
> openjpa-persistence will set scope=provided on geronimo-validation_1.0_spec
> openjpa-all will include the spec in the aggregated all jar
> openjpa-persistence-jdbc will not add a test dependency on the spec
> openjpa-integration will be used to test the validation support via OPENJPA-1106
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.