SQiShER/java-object-diff

Can't Find Setter For Property While Using lombok

Yanxinwei opened this issue · 1 comments

Hi,
I'm using java-object-diff of version 0.95, it works quite well finding the differences between objects.
But then I try to merge the different properties and apply to database I found the log as follows:

14:33:30.184 [main] DEBUG de.danielbechler.diff.introspection.PropertyAccessor - No setter found for property 'id'
14:33:30.786 [main] INFO de.danielbechler.diff.introspection.PropertyAccessor - Couldn't set new value '1' for property 'id'

I thought it might be caused by the lombok (version 1.18.20), so I add setters/getters to the class, and it works.

So I wonder is there any plans to support lombok? THX

It's fixed when I remove annotation @accessors(chain = true)
Compile before you run your application