users@glassfish.java.net

Re: EJBQL Exception

From: <glassfish_at_javadesktop.org>
Date: Mon, 30 Apr 2007 20:16:22 PDT

Thanks for your reply. The Java EE Tutorial chapters on Persistence say that only two attribution tags are required: @Entity (which I list above) and @Id, which I did not list earlier but which is directed to my primary key as follows:

    @Id
    public String getSellerID() {
        return sellerID;
    }

Are there more that are required? Sorry if this is obtuse.
[Message sent by forum member 'drscoville' (drscoville)]

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