views:

43

answers:

0
@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... ;)