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





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875100#3875100

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875100


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to