aspose file tools*
The moose likes JBoss/WildFly and the fly likes Happening in JBoss only -- Hibernate MappingException in resolving cust UserType Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Happening in JBoss only -- Hibernate MappingException in resolving cust UserType" Watch "Happening in JBoss only -- Hibernate MappingException in resolving cust UserType" New topic
Author

Happening in JBoss only -- Hibernate MappingException in resolving cust UserType

Steven Francolla
Greenhorn

Joined: May 14, 2011
Posts: 1
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.

All input very much appreciated!



My entity:



The mapping:




Thanks for your time.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

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?

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Happening in JBoss only -- Hibernate MappingException in resolving cust UserType
 
Similar Threads
Composite Key and update: update never executed
How to use a Timestamp as the Identifier
Please explain me the hibernate generated sql queries in console
org.hibernate.MappingException: Could not determine type for...
Hibernate how to update only one colum value