http://beavercreekconsulting.com/blog/2008/10/hibernate-annotations-for-a-one-to-many-mapping/

Key:

the 2 Embedded ids can have manytoone relationship