openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: Are relation sets identity, pk or bean.equals() based?
Date Thu, 14 Dec 2006 03:24:01 GMT
On Dec 13, 2006, at 4:56 PM, Marc Prud'hommeaux wrote:

>> If you declare the field to be an interface type and you don't
>> initialize the field to anything, I don't remember how we decide what
>> impl to use.
>
> Looking at the code in ProxyManagerImpl.java, it appears that we  
> default to ArrayList for fields declared as type Collection,  
> HashSet for fields declared as type Set, TreeSet for fields  
> declared as type SortedSet, and ArrayList for fields declared as  
> type List.

Thanks! That is exactly what I wanted to know.

-dain

Mime
View raw message