Beginner |
 |
Joined: Tue Nov 18, 2003 12:34 am Posts: 39 Location: Dallas, Texas, US
|
Hi folks,
I would like to know if there is an equivalent type in Hibernate for java.util.ArrayList. I tried to use "set", but because duplicates are not allowed in a set, I got ClassCastException. I am new to Hibernate and I am using XDoclet to generate the mapping file. This is for a one-to-many mapping and I need to do this for a getter/setter in the parent, which has the children information in a java.util.ArrayList. Please advise.
Thanks.
Madhan.
|
|