Hi,
We used in Hibernate 4.1.9 DirectPropertyAccessor to implement custom access methods (getters and setters) for hibernate properties. How can we implement those custom methods in Hibernate 5.2.12 ?
Regards
Hi,
We used in Hibernate 4.1.9 DirectPropertyAccessor to implement custom access methods (getters and setters) for hibernate properties. How can we implement those custom methods in Hibernate 5.2.12 ?
Regards
Depends how you indicated to use that access strategy. hbm.xml? Annotations? orm.xml? Ultimately DirectPropertyAccessor
should be replaced with either org.hibernate.property.access.internal.PropertyAccessFieldImpl
or org.hibernate.property.access.internal.PropertyAccessMixedImpl
. Again, how to specify that switch depends on what mechanism you are using.
We use hbm.xml files.
Thanks. PropertyAccessFieldImpl is what we search.