[jboss-jira] [JBoss JIRA] Commented: (AS7-1583) Plugging in Hibernate 3.3.x in AS 7+ should be possible for user migrating from AS5

Scott Marlow (JIRA) jira-events at lists.jboss.org
Thu Aug 25 15:37:17 EDT 2011


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

Scott Marlow commented on AS7-1583:
-----------------------------------

Server.log output after running a unit test with Hibernate 3.3.2 with some patches applied is here http://pastebin.com/J5gEjLCv

Note the ClassNotFoundException (org.hibernate.ejb.packaging.Scanner) is logged but ignored.

Also note that the test had to specify entity classes in the persistence.xml (<class>org.jboss.as.testsuite.compat.jpa.hibernate.Employee</class>), since Hibernate wasn't able to scan the entity classes for annotations (usually done through the org.hibernate.ejb.packaging.Scanner that was added in Hibernate 3.5).

> Plugging in Hibernate 3.3.x in AS 7+ should be possible for user migrating from AS5
> -----------------------------------------------------------------------------------
>
>                 Key: AS7-1583
>                 URL: https://issues.jboss.org/browse/AS7-1583
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: JPA / Hibernate
>            Reporter: Jim Tyrrell
>            Assignee: Scott Marlow
>             Fix For: 7.1.0.Beta1
>
>
> Thinking about the amount of hibernate that is out in the wild, and not knowing the scope/effort of having everyone switch to Hibernate 4.X, it would be nice if we can document what it takes to plug in the version of Hibernate/s that are in AS 5.  I also wonder aloud about AS 4, but I think AS 5 would be enough.  Thoughts on extending this to AS 4 version of hibernate.  For reference version numbers are here:
> http://www.jboss.com/products/platforms/application/components/
> Looks like 3.3.x for AS 5
> Looks like 3.2.x for AS 4.x

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list