Writing an entity bean like this one

@Entity
public class .....{

/* some properties */

/* CHILDREN */
        
        private Set setInformationSystemUsers;
        
        @ManyToMany
        @JoinTable(name="nn")
        public Set getUsers() 
        { 
                return setInformationSystemUsers;
        }

}

I get an editor error like "The attribute name is undefined for the annotation 
type @JoinTable".

And trying to get editor's help (ctrl-space bar) I get a message like "The 
annotation @JoinTable is disallowed for this location".

Does anyone know if this is a bug or that I simply don't know how to write EJB3 
entitites? And the sollution... please.

thanks in advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940085#3940085

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940085


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to