This commit is contained in:
SanteS
2016-09-20 13:31:59 +00:00
parent cb82b0c9b7
commit 5e0f5a145e

View File

@@ -1150,7 +1150,7 @@ public abstract class EntityBase implements Serializable, Cloneable, EntityInter
fieldParent.setAccessible(true);
Object obj = fieldParent.get(parent);
String mName = "set" + fieldName.substring(0, 1).toUpperCase() + fieldName.substring(1);
String mName = "set" + field.getName().substring(0, 1).toUpperCase() + field.getName().substring(1);
if(obj != null){
Method m = ReflectionUtils.findMethod(getClass(), mName, obj.getClass());
if(m != null)