Hi,
I'm trying to migrate from Hibernate 3.5.6 to 4.1.1. Faced with several problems one of them is that @AccessType is not working. My custom Getters nad Settors are not called at anytime.
Code example:
Code:
@NotNull
@Size(min = PASSWORD_MIN_SIZE, max = MAX_SIZE)
@Pattern(regexp = "((?=.*\\d)(?=.*[a-zA-Zа-.А-.]).*)",
message = "{javax.validation.constraints.Pattern.password.message}")
@Column(name = "user_password", nullable = false)
@AccessType(value = "com.utils.PasswordPropertyAccessor")
private String password;
The similar topic was discussed here
https://forum.hibernate.org/viewtopic.php?f=1&t=1008423&p=2438896&hilit=accesstype#p2438896 but there is no reply.