@AccessType. Custom PropertAccessor Hibernate does not work

Description

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:
@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;

Environment

Spring 3.1.X

Status

Assignee

Unassigned

Reporter

Stanislav Zaluzhsky

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Major
Configure