'lo all,
Now that I've gotten around my problem with Hibernate 3.3 classes in the jar (thanks adam) I'm seeing the following exception routinely throw up, unfortunately it doesn't tell me anything about the entity its trying to work on.
Everything works fine under my older build of envers (preview 4 I believe)
Anyone seeing this?
org.hibernate.PropertyNotFoundException: Could not find a getter for id in class org.hibernate.collection.PersistentBag at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282) at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275) at org.hibernate.util.ReflectHelper.getGetter(ReflectHelper.java:88) at org.jboss.envers.reflection.ReflectionTools.getGetter(ReflectionTools.java:64) at org.jboss.envers.mapper.id.SingleIdMapper.mapToIdFromEntity(SingleIdMapper.java:85) at org.jboss.envers.event.VersionsEventListener.generateCollectionChangeWorkUnits(VersionsEventListener.java:72) at org.jboss.envers.event.VersionsEventListener.onPostInsert(VersionsEventListener.java:94) at org.hibernate.action.EntityInsertAction.postInsert(EntityInsertAction.java:131) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:110) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
Hello,
I think I checked too many values when looking for changes in a collection - and I also think I fixed it, can you try now? (commited to SVN and uploaded to dev. downloads)
By the way, how are you updating your collections?
Adam