Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-7222

Put the correct hibernate libs in the /client dir

    Details

    • Type: Task Task
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: JBossAS-5.1.0.GA
    • Fix Version/s: 6.0.0.M1
    • Component/s: JPA / Hibernate
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      We currently have hibernate-annotations.jar only.

        Activity

        Hide
        Dimitris Andreadis
        added a comment -

        I've added hibernate-commons-annotations.jar & hibernate-validator.jar

        Regarding hibernate-client.jar, I see it produced by the ejb3 module in Branch_4_2:
        <!-- build hibernate-client.jar -->
        <!-- <unjar src="$

        {hibernate.hibernate.lib}/hibernate3.jar"
        dest="${build.classes}" /> -->
        <jar jarfile="${build.lib}/hibernate-client.jar">
        <zipfileset src="${hibernate.hibernate.lib}

        /hibernate3.jar">
        <include name="org/hibernate/AssertionFailure.class"/>
        <include name="org/hibernate/**/*Exception.class"/>
        <include name="org/hibernate/collection/**"/>
        <include name="org/hibernate/exception/Nestable*.class"/>
        <include name="org/hibernate/exception/ExceptionUtils.class"/>
        <include name="org/hibernate/engine/SessionImplementor.class"/>
        <include name="org/hibernate/loader/CollectionAliases.class"/>
        <include name="org/hibernate/persister/collection/**"/>
        <include name="org/hibernate/pretty/MessageHelper.class"/>
        <include name="org/hibernate/type/Type.class"/>
        <include name="org/hibernate/EntityMode.class"/>
        <include name="org/hibernate/util/**"/>
        <include name="org/hibernate/proxy/**"/>
        </zipfileset>
        </jar>

        Do we want to do the same, or just copy the whole hibernate3.jar?

        Show
        Dimitris Andreadis
        added a comment - I've added hibernate-commons-annotations.jar & hibernate-validator.jar Regarding hibernate-client.jar, I see it produced by the ejb3 module in Branch_4_2: <!-- build hibernate-client.jar --> <!-- <unjar src="$ {hibernate.hibernate.lib}/hibernate3.jar" dest="${build.classes}" /> --> <jar jarfile="${build.lib}/hibernate-client.jar"> <zipfileset src="${hibernate.hibernate.lib} /hibernate3.jar"> <include name="org/hibernate/AssertionFailure.class"/> <include name="org/hibernate/**/*Exception.class"/> <include name="org/hibernate/collection/**"/> <include name="org/hibernate/exception/Nestable*.class"/> <include name="org/hibernate/exception/ExceptionUtils.class"/> <include name="org/hibernate/engine/SessionImplementor.class"/> <include name="org/hibernate/loader/CollectionAliases.class"/> <include name="org/hibernate/persister/collection/**"/> <include name="org/hibernate/pretty/MessageHelper.class"/> <include name="org/hibernate/type/Type.class"/> <include name="org/hibernate/EntityMode.class"/> <include name="org/hibernate/util/**"/> <include name="org/hibernate/proxy/**"/> </zipfileset> </jar> Do we want to do the same, or just copy the whole hibernate3.jar?
        Hide
        Dimitris Andreadis
        added a comment -

        Ok, the one missing hibernate-core.jar was added in the client lib / jbossall-client.jar

        Show
        Dimitris Andreadis
        added a comment - Ok, the one missing hibernate-core.jar was added in the client lib / jbossall-client.jar

          People

          • Assignee:
            Dimitris Andreadis
            Reporter:
            Dimitris Andreadis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: