首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

org.springframework.orm.hibernate.HibernateSystemException: a different object w

2014-01-26 

2007-05-20 17:48:40,756 DEBUG [com.ritetone.bmcczhp.site.web.AddNewInterviewSiteController] - <===========向邮件模板添加信息============>
Hibernate: select mailtempla0_.TEMPLATE_ID as TEMPLATE1_0_, mailtempla0_.MAIL_NAME as MAIL_NAME0_, mailtempla0_.MAIL_CONTENT1 as MAIL_CON3_0_, mailtempla0_.MAIL_CONTENT2 as MAIL_CON4_0_, mailtempla0_.EXPIRED_TIME as EXPIRED_5_0_, mailtempla0_.MOBILE_MSG as MOBILE_MSG0_, mailtempla0_.BRING_THING as BRING_TH7_0_, mailtempla0_.NOTE as NOTE0_ from MAIL_TEMPLATE mailtempla0_ where mailtempla0_.TEMPLATE_ID=?
2007-05-20 17:48:40,792 INFO [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Initiating transaction rollback>
2007-05-20 17:48:40,793 WARN [org.springframework.web.servlet.DispatcherServlet] - <Handler execution resulted in exception - forwarding to resolved error view>
org.springframework.orm.hibernate.HibernateSystemException: a different object with the same identifier value was already associated with the session: 1000, of class: com.ritetone.bmcczhp.template.domain.MailtemplateImpl; nested exception is net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 1000, of class: com.ritetone.bmcczhp.template.domain.MailtemplateImpl
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 1000, of class: com.ritetone.bmcczhp.template.domain.MailtemplateImpl
at net.sf.hibernate.impl.SessionImpl.checkUniqueness(SessionImpl.java:1687)
at net.sf.hibernate.impl.SessionImpl.doUpdateMutable(SessionImpl.java:1453)
at net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1480)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1403)
at org.springframework.orm.hibernate.HibernateTemplate$10.doInHibernate(HibernateTemplate.java:259)
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
at org.springframework.orm.hibernate.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:257)
at com.ritetone.bmcczhp.template.hibernate.HibernateMailtemplateHome.save(HibernateMailtemplateHome.java:29)
at com.ritetone.bmcczhp.template.facade.pojo.TemplateFacadeImpl.update(TemplateFacadeImpl.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191)         

热点排行