Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- @Table
- public class Data {
- @Id
- private Integer id;
- @Type(type = "encryptedString") // Need to enable for Encryption
- @Type(type = "org.hibernate.type.TextType") // Need to enable for Non Encryption
- private String data;
- }
Add Comment
Please, Sign In to add comment