I created https://hibernate.atlassian.net/browse/HHH-13891
IIUC, a ProxyFactory should not be created if any ID, version, or property
method getter/setter is final.
I'm working on a PR.
On Thu, Mar 5, 2020 at 7:56 AM Steve Ebersole <steve(a)hibernate.org> wrote:
> If any getters or setters are final then the ProxyFactory cannot be used
> and imo should not get built, especially moving forward as we could use
> bytecode-based proxies
> On Wed, Mar 4, 2020 at 2:11 PM Gail Badner <gbadner(a)redhat.com> wrote:
>> This commit  for HHH-11838  causes an error to get logged by
>> ProxyFactoryHelper#validateProxyability  for a property that uses
>> access and has a corresponding final getter/setter method.
>> The logged error does not cause any failure, and the
>> gets built.
>> Should this error be logged in this case?
>> When the error message is valid, should ByteBuddyProxyFactory not get
>>  https://hibernate.atlassian.net/browse/HHH-11838
>> hibernate-dev mailing list