Don't be sorry, be happy ;) the problem is that the name specified in the cmr-field-name is not the database column. Jboss assumes that the database column name is the <cmr_field_name> (left side) +"_" + <cmr_field_name> right side. What I think makes more sense is for the cmr_field_name by default to match the database column name the same way it does in CMP.
Dan OConnor wrote: > Hi guys, > > I've just been skimming this thread, but it strikes me as possible > that it is based on a misunderstanding. Dave, do you know that > you should not define a cmp field for a foreign key column? So > changing the naming convention wouldn't be necessary to get it to > work by default. Sorry if this is not the problem, and I have missed > the point. If so, please just ignore me. > > -Dan > > On 19 Nov 01, at 11:05, Dave Smith wrote: > >e.net > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development