I've had a few problems with an owned list. Firstly I can't override the table name, the JoinTable annotation is not compatible with the documentation (name attribute instead of table?)
The generated code was coming up with column names like 'teller_teller_num' where teller_num is the PK on the main table and part of in the owned table. In both cases I fudged the DDL to match the generated code and it reads it OK but gives a NPE from the bowels of the JBoss/EJB3 code on em.flush();. If I remove the code that simply iterates this list there is no problem. I'm using 404 CR2 and RC6 PFD. Can someone please give examples of such mappings? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940416#3940416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940416 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
