Hi! Just switched to JBoss 6 from Tomcat. Have been using Hibernate 3.6 all along and my package libraries are unchanged. Finally got thru JBoss classloading and am now presented with the following Hibernate exception. I use a handful of custom UserTypes. Mappings are defined in hbm.xml still. Entity and mapping below as well. This deployed fine on Tomcat.
Where in your application is the com.project.persistence.dao.usertype.DefaultStatusIfNullStatusType class located? And how is your application packaged? Are you sure that class is in the classpath of the application?