org.springframework.orm.hibernate4.HibernateSystemException: Unknown entity: java.util.HashSet; nested exception is org.hibernate.MappingException: Unknown entity: java.util.HashSet

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via codegur.net by Unknown author, 1 year ago
Unknown entity: java.util.HashSet; nested exception is org.hibernate.MappingException: Unknown entity: java.util.HashSet
via codegur.online by Unknown author, 1 year ago
Unknown entity: java.util.HashSet; nested exception is org.hibernate.MappingException: Unknown entity: java.util.HashSet
via sc0713.com by Unknown author, 1 year ago
Unknown entity: java.util.HashSet; nested exception is org.hibernate.MappingException: Unknown entity: java.util.HashSet
via hibernate.org by Unknown author, 1 year ago
could not get a field value by reflection getter of com.jigo.common.core.entity.AttributeDefinitionEntity.id; nested exception is org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.jigo.common.core.entity.AttributeDefinitionEntity.id
via Stack Overflow by QuangTV
, 1 year ago
Named query not known: select.setting; nested exception is org.hibernate.MappingException: Named query not known: select.setting
via Stack Overflow by Chintan
, 3 days ago
This TransactionCoordinator has been closed; nested exception is org.hibernate.ResourceClosedException: This TransactionCoordinator has been closed
org.springframework.orm.hibernate4.HibernateSystemException: Unknown entity: java.util.HashSet; nested exception is org.hibernate.MappingException: Unknown entity: java.util.HashSet
at org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1096)
at org.hibernate.internal.SessionImpl.getEntityPersister(SessionImpl.java:1443)
at org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:242)
at org.hibernate.event.internal.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:511)
at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:100)
at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)
at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:684)
at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:676)
at org.springframework.orm.hibernate4.HibernateTemplate$16.doInHibernate(HibernateTemplate.java:685)
at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:340)
at org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:218)
at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:343)
at org.springframework.orm.hibernate4.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:308)
at com.mycompany.rm.pmech.common.dao.GenericDAO.saveOrUpdateAll(GenericDAO.java:408)
at com.mycompany.rm.pmech.pricingprogram.service.impl.PricingGridServiceImpl.saveLinks(PricingGridServiceImpl.java:318)
at com.mycompany.rm.pmech.pricingprogram.service.impl.PricingGridServiceImpl.saveAndPropagateLinks(PricingGridServiceImpl.java:281)
at com.mycompany.rm.pmech.pricingprogram.service.impl.PricingGridServiceImpl.createLink(PricingGridServiceImpl.java:235)
at com.mycompany.rm.pmech.pricingprogram.service.impl.CopyNodeJobServiceImpl.performGridLinkingForNode(CopyNodeJobServiceImpl.java:498)
at com.mycompany.rm.pmech.pricingprogram.service.impl.CopyNodeJobServiceImpl.performGridLinking(CopyNodeJobServiceImpl.java:473)
at com.mycompany.rm.pmech.pricingprogram.service.impl.CopyNodeJobServiceImpl.performLinking(CopyNodeJobServiceImpl.java:324)
at com.mycompany.rm.pmech.pricingprogram.service.impl.CopyNodeJobServiceImpl.copyNode(CopyNodeJobServiceImpl.java:109)
at com.mycompany.rm.pmech.pricingprogram.service.impl.CopyNodeJobServiceImplTest.testCopyNodeAtPGLevelWithX502LinkageWhenTargetSeasonHasNoChildrenShouldSucceed(CopyNodeJobServiceImplTest.java:463)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.extensions.cpsuite.ClasspathSuite.run(ClasspathSuite.java:194)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.