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)
|
|