That's exactly what I did. 

I'm using the compound PK (student_id, course_id) in the Student_Course EJB to ensure 
that no student registers for the same course more than once.

Therein lies the problem. As you said earlier, a field can only be either CMP or CMR. 
But the student_id and course_id fields in the Student_Course tables are CMR fields. 
How do I then set these CMR fields?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to