Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1151

JBoss uses static Hibernate module instead of Hibernate jars included in deployment

    Details

      Description

      JBoss is loading Hibernate 4.0.1.Final (ships with) instead of the version specified in my Maven POM file and embedded in WAR archive, version: 4.1.5.SP1.

      This ONLY occurs when I have a Persistence Unit setup in my WAR file in directory: resources/META-INF.

      If I rename persistence.xml to persistence.xml.old, JBoss loads the correct version: Hibernate 4.1.5.SP1.

      I have a sample project.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                smarlow Scott Marlow
                Reporter:
                sshtac Kuthair Habboush
              • Votes:
                4 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: