1 package org.hibernate.test.usercollection; 2 3 import java.util.ArrayList; 4 5 /** 6 * A custom collection class. We extend a java.util.Collection class, but that is not required. 7 * It could be totally non-java-collection type, but then we would need to implement all the PersistentCollection methods. 8 * 9 * @author max 10 * 11 */ 12 public class MyList extends ArrayList implements IMyList { 13 14 } 15