[jboss-jira] [JBoss JIRA] (AS7-2829) implicit JPA subsystem dependencies don't prevent java.lang.ClassNotFoundException: org.hibernate.criterion.Projection

Scott Marlow (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 29 09:10:40 EST 2011


    [ https://issues.jboss.org/browse/AS7-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646327#comment-12646327 ] 

Scott Marlow commented on AS7-2829:
-----------------------------------

I think that the persistence provider module name to be injected by enhancing JPAAnnotationParseProcessor to express the need to the JPADependencyProcessor.

JPAAnnotationParseProcessor is already doing a persistence unit search and should be able to add a module dependency list (containing the persistence provider module) to the DeploymentUnit.
                
> implicit JPA subsystem dependencies don't prevent java.lang.ClassNotFoundException: org.hibernate.criterion.Projection
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-2829
>                 URL: https://issues.jboss.org/browse/AS7-2829
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.1.0.Beta1
>            Reporter: Radim Hanus
>
> my ejbjar inside an ear uses PersistenceContext annotation so that it should be a JPA subsystem as described in https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments
> I also use hibernate criterion classes in ejbjar but I'm getting CNFE during deployment of ear

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list