Hello all,

I am trying to implement Enums using the code given as from website
http://appfuse.org/display/APF/Java+5+Enums+Persistence+with+Hibernate 

But I found error which is given below.............

 Invocation of init method failed; nested exception is
org.hibernate.MappingException: Could not determine type for:
org.appfuse.tutorial.commons.hibernate.GenericEnumUserType, at table: card,
for columns: [org.hibernate.mapping.Column(card_status_type)]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:405)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)




Can anyone give me idea on how to correct the problem?????

Thanks
Green Horn
-- 
View this message in context: 
http://www.nabble.com/Error-relating-to-Enums-Persistence-with-Hibernate-tp23399707s2369p23399707.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to