So obviously this bug report (which I fixed yesterday) was wrong: http://tinyurl.com/4p7w
I'll have a look. Aslak ----- Original Message ----- From: "M.-Leander Reimer" <[EMAIL PROTECTED]> Date: Tuesday, January 21, 2003 12:59 pm Subject: [Middlegen-user] Changes to Entity template don't work with JBoss > 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 > 'fieldlist' > > when the container loads the 'user' entity. > > I had a look at the latest entity-cmp-20.vm and compared it to the > versionfrom 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 > ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
