illegally attempted to associate a proxy with two open Sessions

最近在做struts2批量上传的时候,遇到了hibernate出现

org.springframework.orm.hibernate3.HibernateSystemException: illegally attempted to associate a proxy with two open Sessions;的问题。并且只能正确保存1个提交对象,其余提交的对象均会保存。
openSessions

继续阅读illegally attempted to associate a proxy with two open Sessions