Re: Collection properties in resultMap

2005-11-02 Thread Clinton Begin
It should be possible, but I can't even remember.  More importantly, why would you do that? If your set is fixed enough to be enumerated to customField1...customField3, then why wouldn't you just have 3 properties on your class called CustomField1 ... CustomField3? You're creating potential for

Collection properties in resultMap

2005-10-29 Thread Amad Fida
Hi all, I have a table which has columns like CutomField1, CustomField2, etc Now I have a class Class User { private Collection customFields; . } How would I map individual columns to single collection property? Is something like this possible?