Hello,
I have a great problem:
Master-detail-data is mapped as an idbag (lazy, with order-by-clause)
Reading a master with some detail elements is no problem. Afterwards one detail element is modified, and one new element is added AT POSITION 0 !! -> coll.add(0, newElem);
After saving (master) some of the detail elements are missing in the database. Only two are left there, the new element and a some mix of the the others.
When adding at the end of the list everything is fine. -> coll.add(newElem);
Is this a hibernate bug ? What can I do ?
By, Norbert
|