Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7729

Hibernate 3.3.x Auto scan for JPA entities does not work with AS 7.1

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • EAP_EWP 5.2.0
    • None
    • Hibernate
    • None
    • Release Notes
    • Hide
      Hibernate Core 3 which is part of EAP 5 / EWS 1 was not able to auto scan entities within EAP 6, this is because EAP 6 has a new architecture and it is a JAVA EE 6 certificated Application Server (which has JPA 2), but Hibernate Core 3 is a JPA 1 provider. To workaround this, the entities must be explicated in persistence.xml.

      This JIRA fixed the issue and now Hibernate Core 3 is able to be used within EAP 6 to auto scan entities, but please note, this use case is not recommended, the default JPA provider (Hibernate Core 4) provides better performance and functionality, we only provide this for limit support and for migration purpose only.
      Show
      Hibernate Core 3 which is part of EAP 5 / EWS 1 was not able to auto scan entities within EAP 6, this is because EAP 6 has a new architecture and it is a JAVA EE 6 certificated Application Server (which has JPA 2), but Hibernate Core 3 is a JPA 1 provider. To workaround this, the entities must be explicated in persistence.xml. This JIRA fixed the issue and now Hibernate Core 3 is able to be used within EAP 6 to auto scan entities, but please note, this use case is not recommended, the default JPA provider (Hibernate Core 4) provides better performance and functionality, we only provide this for limit support and for migration purpose only.
    • Documented as Resolved Issue
    • NEW

    Attachments

      Activity

        People

          shaozliu Strong Liu(刘少壮) (Inactive)
          smarlow1@redhat.com Scott Marlow
          Scott Thomas Scott Thomas (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          7 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: