@Entity @Table(name="FOO") public class FOO { // Item should implement Serializable; do not // add here any JPA annotations public ArrayList getItems() {...} } // no JPA annotations public class Item implements Serializable { }
No comments:
Post a Comment