[jboss-user] [EJB 3.0] - Re: Problem with composite Primary key which is also a forei

fhh do-not-reply at jboss.com
Tue Apr 24 06:21:17 EDT 2007


Create a PkClass that has a parent object and a String, like so:


  | @Embeddable
  | public class Child {
  | 
  |     private Parent parent;
  | 
  |     private String language;
  | 
  | 
  |    // Getters and Setters
  | 
  | }
  | 

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

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



More information about the jboss-user mailing list