How to declare different non-JPA annotations on embedded classes
- by e99y
@Embedded
public class EmbedMe {
private String prop1;
private String prop2;
}
@Entity
public class EncryptedEmbedded {
@Embeddable
private EmbedMe enc;
}
I am current using Jasypt for encryption. Is there a way to indicate that the @Embeddable in EncryptedEmbedded will use @Type(value = "newDeclaredTypeHere") per attribute (prop1, prop2)?
Thanks in advance... ;)