| If the implemented setter is a default Java-8 setter then ReflectHelper#findSetterMethod fails to find it - e.g.:
public interface Foo {
String getFoo();
default void setFoo(String f) {
}
}
public class MySuperclass implements Foo {
public String getFoo() {
...
}
}
@Entity
public class MyEntity extends MySuperclass {
@Column
@Override
public String getFoo() {
return super.getFoo();
}
}
The problem is that the ReflectHelper#findSetterMethod code scans the interfaces of the top-level class (MyEntity in this example) but not the ones implemented by MySuperclass - so it thinks that setFoo is not implemented. |