-
1. Re: jpa subsystem with hibernate3
smarlow Mar 8, 2012 9:22 AM (in response to jdabrowski)Its not clear from your description. Next time, attaching or pasting the console output might help.
The Hibernate 3.x jars are not included. You can either packaged Hibernate 3 jars with your application or create a AS7/modules/org/hibernate/3 folder that contains the jars. Documentation for both options is here.
Scott
-
2. Re: jpa subsystem with hibernate3
jdabrowski Mar 8, 2012 9:43 AM (in response to smarlow)Once again with better explanation:
I have an ejb module which I deploy on JBoss7.1.0.Final. Module contains persistence.xml with persistence unit definition.
After deploying it I can see jpa subsystem in cli and persistence unit in web console.
When I change my persistence.xml to use hibernate:3 (I have all required packages in modules and it works great) there is no jpa subsystem for this module and I can't see my persistence unit in web console.
-
3. Re: jpa subsystem with hibernate3
smarlow Mar 8, 2012 10:40 AM (in response to jdabrowski)Oh, that console! I thought you meant something else (like a deployment failure in the AS server console).
I added the web console support only for Hibernate:4, because that is what everyone should be using (its shiny and new
There are a few ways to make hibernate:3 show up in the console, but that will require code changes. The hibernate:3 adapter currently doesn't contain the management console/cli code. This is something that I would like to implement in the future but it hasn't been a priority yet. The web console itself will also need to be enhanced to show Hibernate:3 (but the cli will not need any changes).
If you or others are interested in helping with this, we can discuss further.
-