These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: HibernateTemplate
PostPosted: Fri Feb 04, 2011 1:38 am 
Newbie

Joined: Fri Feb 04, 2011 1:31 am
Posts: 1
Hi,
This is Rajesh. currently i am using with hibernate in my project for values stroing in database.when run project it shows exception in hibernateTemplate. following exception are occur at runtime.

DEBUG HibernateTemplate:422 - Not closing pre-bound Hibernate Session after HibernateTemplate
org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value:
com.medisoft.annotations.HmsURole.hmsMComp; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: com.medisoft.annotations.HmsURole.hmsMComp
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:648)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:683)
at com.medisoft.administration.rolemaster.RoleMasterDAO.saveRoleMaster(Unknown Source)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.