1 Reply Latest reply on Apr 26, 2004 6:03 AM by adrian.brock

    use Hibernate 2.1 with JBoss 3.2.3 via JCA

    moghrabi

      Hello,

      I'd like to use Hibernate with JBoss via JCA.
      I wonder how can I configure JBoss to do it.

      So I put the file hibernate2.rar in the /deploy folder.
      What should I do after ?
      I think I must create a hibernate2-service.xml but what does it contain ? I have the JBoss documentation and it doesn't explain it clearly.

      Can someone help me ? Does anybody try to do it ?

      Regards

      Xavier MOGHRABI

        • 1. Re: use Hibernate 2.1 with JBoss 3.2.3 via JCA

          AFAIK nobody has tried to do this.

          Last time I spoke to the hibernate guys about it, they said the rar still needs some
          more work - that was back in November.

          To try it, you need a hibernate-ds.xml with something like the following content

          <connection-factories>
           <tx-connection-factory>
          
           <adapter-display-name>{The <display-name> from hibernate2.rar/META-INF/ra.xml}</adapter-display-name>
          
           <!-- Other config goes here -->
          
           </tx-connection-factory>
          </connection-factories>
          


          There is more info on the WIKI.

          If/when you get it to work, please post your config for others to use.