[jboss-user] [EJB 3.0] - Attribute from MappedClass as a part of composit PK ?
do-not-reply at jboss.com
Tue Jun 16 09:52:16 EDT 2009
I have following problem: I have abstract class, which is @MappedSuperclass and there I have (among others) attribute timestamp, which is common for all my entities.
Now in entity class (which extends abstract class) I need to define composite primary key, but that timestamp attribute from abstract class should be part of composite primary key. How do I do that?
Thanks a lot for help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237934#4237934
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237934
More information about the jboss-user