Hibernate allows you to use a Bag in their terms to store unordered collections, but still have it implemented with a List.  This is how we got around this.


From: Heath Borders [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 09, 2005 4:59 PM
To: MyFaces Discussion
Subject: Re: dataTable with Set?

Convert your Set to a List.

On Apr 9, 2005 8:26 AM, Gabor_Beres <[EMAIL PROTECTED]> wrote:

Hi

 

My problem is that i'd like to store my hibernte entity associations in Set, and in the view tier, iterate through them with <x:dataTable/>

As far as i know, i can't do this now, because Set is not an indexed collection.

 

Could you suggest me a solution to this problem?

 

Thanks for any help.


______________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu




--
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to