| I created a little project to demonstrate this. When the order of a List propertys entries is changed the index column is updated but the method annotated with the PreUpdate annotation is not called. The attached Eclipse/Maven project can be used to test this. The /hicopp/src/main/java/de/stahlgruber/investigate/hico/HiCoMain.java assumes there is a local MySQL schema hico and a user/password hico/pw4hico. The console output shows that the method de.stahlgruber.investigate.hico.entity.AnyEntity.preUpdate() is called when changing a simple string property, but isn't called for the reordering of the list property. |