This commit is contained in:
@@ -71,8 +71,7 @@ public final class EntityCache<T> {
|
|||||||
java.lang.reflect.Field field = type.getDeclaredField(m);
|
java.lang.reflect.Field field = type.getDeclaredField(m);
|
||||||
if (field.getAnnotation(Transient.class) != null) return false;
|
if (field.getAnnotation(Transient.class) != null) return false;
|
||||||
Column column = field.getAnnotation(Column.class);
|
Column column = field.getAnnotation(Column.class);
|
||||||
if (column != null && !column.updatable()) return false;
|
return (column == null || column.updatable());
|
||||||
return true;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user