Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via spring.io by Unknown author, 2 years ago
Illegal attempt to associate a collection with two open sessions at org.hibernate.collection.AbstractPersistentCollect ion.setCurrentSession(AbstractPersistentCollection .java:237) at org.hibernate.event.def.OnUpdateVisitor.processCol lection
via GitHub by paxanga
, 2 years ago
Connection cannot be null when 'hibernate.dialect' not set INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:97) INFO | jvm 1 | 2013/10/31 01:47
org.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions

at org.hibernate.collection.AbstractPersistentCollect ion.setCurrentSession(AbstractPersistentCollection .java:237)

at org.hibernate.event.def.OnUpdateVisitor.processCol lection(OnUpdateVisitor.java:41)

at org.hibernate.event.def.AbstractVisitor.processVal ue(AbstractVisitor.java:104)

at org.hibernate.event.def.AbstractVisitor.processVal ue(AbstractVisitor.java:64)

at org.hibernate.event.def.AbstractVisitor.processEnt ityPropertyValues(AbstractVisitor.java:58)

at org.hibernate.event.def.AbstractVisitor.process(Ab stractVisitor.java:129)

at org.hibernate.event.def.DefaultDeleteEventListener .onDelete(DefaultDeleteEventListener.java:74)

at org.hibernate.impl.SessionImpl.delete(SessionImpl. java:579)

at org.springframework.orm.hibernate3.HibernateTempla te$26.doInHibernate(HibernateTemplate.java:703)

at org.springframework.orm.hibernate3.HibernateTempla te.execute(HibernateTemplate.java:312)

at org.springframework.orm.hibernate3.HibernateTempla te.deleteAll(HibernateTemplate.java:699)

at org.tiaa.secarchive.dao.impl.SecProductionCltDAOIm pl.deleteSourceData(SecProductionCltDAOImpl.java:7 6)

at org.tiaa.secarchive.delegate.impl.SecArchiveDelega teImpl.archive(SecArchiveDelegateImpl.java:86)

at org.tiaa.secarchive.schedule.impl.JobImpl.archive( JobImpl.java:328)

at org.tiaa.secarchive.schedule.impl.JobImpl.execute( JobImpl.java:210)

at org.tiaa.secarchive.schedule.impl.DaemonImpl.run(D aemonImpl.java:239)
	at java.lang.Thread.run(Thread.java:534)