users@glassfish.java.net

Re: JPA mapping, dummy list?

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 May 2008 07:34:09 PDT

Hello,

You can make DataList an embeddable object which means it will share MyObject's table. ie:

public class MyObject {
    @Embedded
    DataList dataList;
}

@Embeddable
public class DataList {
    List<Data> data;
}

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

http://forums.java.net/jive/thread.jspa?messageID=276598