]
Stanislav Zaluzhskiy updated HCANN-48:
--------------------------------------
Attachment: testcase.rar
Test maven project
@AccessType. Custom PropertAccessor Hibernate does not work
-----------------------------------------------------------
Key: HCANN-48
URL:
https://hibernate.onjira.com/browse/HCANN-48
Project: Hibernate Commons Annotations
Issue Type: Bug
Affects Versions: 4.0.1.Final
Environment: Spring 3.1.X
Reporter: Stanislav Zaluzhskiy
Attachments: testcase.rar
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;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: