You can use X-Doclet to generate such complex primary key. But make sure to make sure that the instance variable should be public(as it was in 2.1 spec...I dont have idea about 3.0). And in you mapping file only mention prim key class.....NOT prim key field.....
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885445#3885445 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885445 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user