1 Reply Latest reply on Jan 29, 2014 8:42 AM by gastaldi

    Forge JPA entity with custom Id type



      Is there a way to generate an entity with a custom class as id?



       * Class that define the Id
      public class Code implements Serializable{
          private Integer number;
          private Integer year;
       * My entity class
      public class Document{
          private Code code;