0 Replies Latest reply on Oct 23, 2014 10:08 AM by Alexander Chriztopher

    Using a custom User type with JPA

    Alexander Chriztopher Newbie

      Hi all,


      I have an application with a custom user type mapped as follows :





      public class CustomUser implements Serializable {


          private static final long serialVersionUID = -6315786409757403121L;






          Integer id;




          String email;




      My questions are :


      Do i absolutely have to map a relation to a partition through : @OwnerReference or is there a way to use a default partition out there.

      What value am i supposed to store for the property annotated with : @IdentityClass as i can see it is compulsory ?


      Thanks for any help.