2 Replies Latest reply: May 23, 2012 6:06 AM by Adam Warski RSS

Validity Auditing Strategy Collections Bug?

mcaspers Newbie

I have a Seam 2 EntityHome class that displays the properties of an entity that includes a OneToMany collection. When the Validity audit strategy is used, and this collection is modified (this happens if an item is added or removed) before the entity is persisted with the EntityHome.update() function, I get a "possible nonthreadsafe access to session" error.

 

We are running the application in JBoss As 7.01, overriding the default Hibernate library with Hibernate 3.6.10.

 

The default audit strategy works fine.

 

Why wouldn't the Validity Auditing Strategy work with entities that have modified collections?