Hi,
I have an entity that maps a list. Everything runs fine until I remove an element from the middle of the list, then the indices are interrupted, i.e. they are not updated to their new values even though I call a saveOrUpdate() on all the elements of the changed list. The getIndex() method returns the correct value since it returns the index of the element in the in memory list.
Now, when I reload the list, there where the index is missing I get null values, not exactly what I want.
Does anyone have any experience with this?
I'm using hsqldb 1.8.1.1 with Hibernate 3.3.2
Hope someone can help me with this.
Thanks in advance, Stef Kuypers
|