Yep, it's me again! Updated to latest CVS head today, and used it to generate and build the code for our project. Compilation and deployment work OK. But when I try to access an entity with a relation to another entity the app crashes with
java.sql.SQLException: Column not found: Unknown column 'group' in 'field list' when the container loads the 'user' entity. I had a look at the latest entity-cmp-20.vm and compared it to the version from a few days ago. There are differences in lines 304,305 and 311,312. The lines 311,312 are responsible for the foreign key mapping for JBoss. After I changed the lines back to #set( $thisSideJbossTag = "jboss.target-relation" ) <-- instead of "jboss.relation" #set( $otherSideJbossTag = "jboss.relation" ) <-- instead if "jboss.target-relation" everything works again. I don't know if lines 304,305 are correct the way they are at the moment, since I am not using relation tables. Leander --------- M.-Leander Reimer MSc Computer Science Dipl.-Inf. (FH) Techdivision Kunstm�hlstr. 17 83022 Rosenheim Fon: +49 (0)8031 356 38 32 Fax: +49 (0)8031 356 38 48 Email: [EMAIL PROTECTED] Internet: www.techdivision.com ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
