[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3903) instance not of expected entity type: java.util.HashMap is not a com.domian.Order_aud
Diego Plentz (JIRA)
noreply at atlassian.com
Thu May 7 08:45:13 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Plentz resolved HHH-3903.
-------------------------------
Assignee: Diego Plentz
Resolution: Rejected
> instance not of expected entity type: java.util.HashMap is not a com.domian.Order_aud
> --------------------------------------------------------------------------------------
>
> Key: HHH-3903
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3903
> Project: Hibernate Core
> Issue Type: Bug
> Components: envers
> Affects Versions: 3.2.0.cr2
> Reporter: owais awan
> Assignee: Diego Plentz
>
> at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3663)
> at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374)
> at org.hibernate.id.Assigned.generate(Assigned.java:51)
> at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122)
> at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
> at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
> at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
> at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
> at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
> at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562)
> at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)
> at org.hibernate.envers.synchronization.work.ModWorkUnit.perform(ModWorkUnit.java:59)
> at org.hibernate.envers.synchronization.AuditSync.executeInSession(AuditSync.java:126)
> at org.hibernate.envers.synchronization.AuditSync.beforeCompletion(AuditSync.java:150)
> at com.atomikos.icatch.jta.Sync2Sync.beforeCompletion(Sync2Sync.java:73)
> at com.atomikos.icatch.imp.TransactionStateHandler.commit(TransactionStateHandler.java:253)
> at com.atomikos.icatch.imp.CompositeTransactionImp.doCommit(CompositeTransactionImp.java:509)
> at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:138)
> at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:297)
> at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:608)
> at com.atomikos.icatch.jta.UserTransactionManager.commit(UserTransactionManager.java:148)
> at nz.co.smx.rest.TransactionFilter.afterHandle(TransactionFilter.java:224)
> at org.restlet.Filter.handle(Filter.java:197)
> at org.restlet.Filter.doHandle(Filter.java:150)
> at org.restlet.Filter.handle(Filter.java:195)
> at org.restlet.Filter.doHandle(Filter.java:150)
> at org.restlet.Filter.handle(Filter.java:195)
> at org.restlet.Filter.doHandle(Filter.java:150)
> at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
> at org.restlet.Filter.handle(Filter.java:195)
> at org.restlet.Filter.doHandle(Filter.java:150)
> at org.restlet.Filter.handle(Filter.java:195)
> at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
> at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
> at org.restlet.Application.handle(Application.java:341)
> at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
> at org.restlet.Filter.doHandle(Filter.java:150)
> My Order entity is a joined table inheritance based entity with three subclasses.
> issue raise after using snapshot from Jboss "http://snapshots.jboss.org/maven2/org/hibernate/" repository.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list