I have a CMR for 1to1 relationship to a table with a compound primary key.
I am mapping 1 column and would like to map a constant to the 2nd column. Can I do
this? Thanks.
Here is my xdoclet snippet:
/**
* @ejb.interface-method
*
* @ejb.relation
* name="Link - Problem"
* role-name="Link may have one Problem"
* target-ejb="Problem"
*
* @jboss.relation
* related-pk-field="id"
* fk-column="id"
* @jboss.relation
* related-pk-field="type"
* fk-column="<a constant?>"
*
*/
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841592#3841592
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841592
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user