In hibernate cofiguration files, there is 4 kinds of collection config: Set, List, BaG, and map, actually, 他們僅僅是包裝了JAVA原有的COLLECTION類, 多出了代理的功能, 其中BAG是不可存儲(chǔ)重復(fù)元素的List, 這些Collection元素有兩種排列方式, 數(shù)據(jù)庫(kù)和自身排列。 LIST不支持?jǐn)?shù)據(jù)庫(kù)排列。。。
TOO BAD!