wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring hibernate integration problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring hibernate integration problem" Watch "Spring hibernate integration problem" New topic
Author

Spring hibernate integration problem

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

I am using spring 2.5 with hibernate 3.2.6
I am getting mentioned error while trying to update.
Can somebody also tell me from which mapping spring is finding that path 'com.test.MemberLltyAcct'.I want to also change that mapping to check whether it is affecting that package name just for check.

Please help.

config file:-


hbm file:-


Error:-
20:15:49,916 ERROR main AbstractStep:108 - Encountered an error executing the step: class org.springframework.orm.hibernate3.HibernateSystem Exception: Unknown entity: com.test.MemberLltyAcct; nested exception is org.hibernate.MappingException: Unknown entity: com.test.MemberLltyAcct
org.springframework.orm.hibernate3.HibernateSystem Exception: Unknown entity: com.test.MemberLltyAcct; nested exception is org.hibernate.MappingException: Unknown entity: com.test.MemberLltyAcct
at org.springframework.orm.hibernate3.SessionFactoryU tils.convertHibernateAccessException(SessionFactor yUtils.java:676)
at org.springframework.orm.hibernate3.HibernateAccess or.convertHibernateAccessException(HibernateAccess or.java:412)
at org.springframework.orm.hibernate3.HibernateTempla te.doExecute(HibernateTemplate.java:424)
at org.springframework.orm.hibernate3.HibernateTempla te.executeWithNativeSession(HibernateTemplate.java :374)
at org.springframework.orm.hibernate3.HibernateTempla te.save(HibernateTemplate.java:694)


Thanks in Advance,
Kousik
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring hibernate integration problem