answering my own question.  Using an alternate annotation approach (@IdClass 
instead of @Embedded in the PK class and @EmbeddedId in the main class) works 
as you have to duplicate the compound primary key members in both the PK and 
the main Entity bean.  The EM query can now recognize the key members.  You 
loose the convenience of the PK mechanism, but it works.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to