Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity("users")
- public class User{
- private String username = null;
- private String password = null;
- }
- {
- "email": "xy@test.com",
- "password": "abc"
- }
- {
- "usersettings": {
- "email": "xy@test.com",
- "password": [
- "abc", "cde", "efg"
- ]
- }
- }
- @Entity("users")
- @Converters("MyUserConverter.class") <-- this does NOT WORK!
- public class User{
- private String email = null;
- private String password = null;
- }
- @Entity("users")
- public class User{
- private String email = null;
- @Converters("MyCustomTypeConverter.class") <-- this would work, but does not help in my case!
- private MyCustomType password = null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement