ProxyFactory should not be built if any ID or property getter/setter methods are final

Description

If any ID or property getter/setter method is final, an error is logged, but the ProxyFactory is still built.

A proxy of such a class can still be returned by Hibernate. Calling a final getter or setter does not cause the proxy to get initialized.

Any values that are set by calling a final setter on a proxy are ignored.

Activity

Former userMarch 26, 2020 at 2:55 AM

Fixed in master and 5.3 branches.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created March 6, 2020 at 4:32 AM
Updated November 12, 2020 at 9:18 AM
Resolved March 26, 2020 at 2:55 AM