1. JBoss + Hibernate + Annotations -> How? forum.hibernate.orgIf I want to use annotations in Hibernate, and still use JBoss' Hibernate mbean for the session factory, how do I configure the factory to know about the annotated classes? In the Hibernate docs, this is done via modifications to the session in HibernateUtil before the session is built, or via mapping sub-elements on the session-factory element in hibernate-configuration. How do ... |
2. Hibernate Annotations with JBoss 5 forum.hibernate.orgHello, I am upgrading to JBoss AS 5 and am migrating from 4.2. I had no problem creating JDK 5 based Hibernate annotations for my POJO's and used typical JNDI to get the entity manager for these annotated pojos. JBoss 5 changed this usage and I am no longer able to create the entity manager (code below) Object o = getJNDIResource(entityManagerName); ... |
3. Annotations scanning not working properly in JBoss 5.1 forum.hibernate.orgI'm trying to upgrade my spring + jpa(hibernate) application to JBoss 5 and am noticing that hibernate is not finding any of my entities. It works fine when I run it outside of the container inside a unit test, but once inside the container it doesn't find my entities. Has anyone experienced anything like this? I'm using the built in hibernate ... |