Sorry my post is imcomplete
Hibernate version:3.1 rc1
Name and version of the database you are using:MySql
I have declared on custom interceptor on my Configuration. In a transaction I do :
Code:
manager.getTransaction().begin();
Widget2 w = manager.find(Widget2.class, id);
//w.setName("newName");
w.setArrays(new String[] { "toto", "titi", "uu","9" });
w.setInts(new int[] { 0, 1, 2, 3,4,6,7,8,9 });
manager.getTransaction().commit();
In that case Inteceptor.onFlushDirty method is not invoked.
If I just uncommant setName line, interceptor.onFlushDirty is invoked.
Is it possible (and how) to be notify when an array is updated ?
I try to do the same with EJB3 annotations postUpdate and preUpdate I have the same problem :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70491