aspose file tools
The moose likes Spring and the fly likes Spring hibernate integration problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 219
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring hibernate integration problem
 
Similar Threads
hibernate3 and spring problem.
Error: Active Spring transaction synchronization required
org.hibernate.MappingException: Unknown entity:
SQLGrammarException using Hibernate + Embedded Derby
spring + hibernate