• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring hibernate integration problem

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic