I am try to set up a relationship between 2 CMP entities. But the column names in the two database tables are not the same. Also, the field name (i.e., bean property name) differs from the column name.
Table: customer, Column: default_addid
Table: address, Column: addid
customer.default_addid is a foreign key to address.addid
CustomerBean field: defaultAddress
AddressBean primary key field: addressID
How do I set up the jbosscmp-jdbc to tell jboss the column name for default_addid? The documentation (that I've found so far) only covers the most rudimentary examples and does not discuss issues dealing with existing database tables.
Thanks,
Jeff