DirectPropertyAccessor alternatives in 5.2.12


#1

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


#2

Try the PropertyAccessStrategyBasicImpl and PropertyAccessBasicImpl.

The PropertyAccessStrategyResolver can be used to customize the PropertyAccessStrategy.