[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4955) java persistence not bundled with 3.5.0-CR-2

Julio Salazar (JIRA) noreply at atlassian.com
Wed Apr 14 16:47:58 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36449#action_36449 ] 

Julio Salazar commented on HHH-4955:
------------------------------------

I found the same issue reported by John Liptak, but in OAS 10.1.3 , the problem is that OAS had a jar in ./j2ee/home/lib/persistence.jar that contains the same classes, if you try to include hibernate-jpa-2.0-api-1.0.0.Final in your application the cassLoading always take the appserver jar, and i cant excluded in the shared libraries onorion-application.xml


java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z 

> java persistence not bundled with 3.5.0-CR-2
> --------------------------------------------
>
>                 Key: HHH-4955
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4955
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.5.0-CR-2
>         Environment: Hibernate 3.5.0-CR-2
>            Reporter: Daniel Padwa
>
> Upgrading from Annotations 3.4 to the unified 3.5 core, I no longer get the ejb3-persistence library in the download.
> Even worse, the ejb3-persistence.jar that shipped with Annotation 3.4 does not work with 3.5.0-CR2 - it is missing the class javax.persistence.Cacheable

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list