You could try the fkcmp flag in the cmp20 plugin maybe? http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#fkcmp
.eivind On Thu, 16 Oct 2003 [EMAIL PROTECTED] wrote: > Middlegen is incorrectly generating CMP and CMR fields incorrectly. It's > creating the FK fields as both CMP as well as the CMR fields. > > Example of this problem can be found in the following example. Please note > the jbosscmp-jdbc.xml snippet from below. HDNT_ORDER_ID field is actually a > CMR field that needs to be set by the container.. and shouldn't be defined > below. We need to fix this since this will cause the container to throw > errors. > > Does anyone have a solution to this? > Don Shade > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > <entity> > <ejb-name>HeaderNote</ejb-name> > <create-table>false</create-table> > <remove-table>false</remove-table> > <table-name>THDNT_HEADER_NOTE</table-name> > > <cmp-field> > <field-name>headerNoteID</field-name> > <column-name>HDNT_HEADER_NOTE_ID</column-name> > > </cmp-field> > <cmp-field> > <field-name>orderID</field-name> > <column-name>HDNT_ORDER_ID</column-name> > > </cmp-field> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
