Hi all !
I'am using Hibernate 2.0 with PostgreSQL 7.3.2
I have 2 entity: User and Account. And i modeling Parent/Child relationship between Account(Parent) and User(Child) , as described in Hibernate Reference Manual.
I'am using List (and <list>...</list> mapping) for Users in Account, and when i saved Account with Users, hibernate doesn't store ListIndex for Users (it's table column remains =null in database).
But, when i changed List to Set it become all right. But i want to use List.
Is it possible? or i should use Set in any case with Parent/Child relationship?
|