Hi all,
I have an application with a custom user type mapped as follows :
@Entity
@Table(name="CUSTOM_USER")
@IdentityManaged(User.class)
public class CustomUser implements Serializable {
private static final long serialVersionUID = -6315786409757403121L;
@Id
@Identifier
@Column(name="ID")
Integer id;
@Column(name="EMAIL")
@AttributeValue(name="email")
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.