Commit a212a30e authored by Quxl's avatar Quxl

x

parent bb4ee4c7
...@@ -43,7 +43,6 @@ public class Desc { ...@@ -43,7 +43,6 @@ public class Desc {
} }
int mod = field.getModifiers(); int mod = field.getModifiers();
if(!Modifier.isStatic(mod) && !Modifier.isFinal(mod)) { if(!Modifier.isStatic(mod) && !Modifier.isFinal(mod)) {
if(!field.isAnnotationPresent(Transient.class)) {
String fieldName = field.getName(); String fieldName = field.getName();
String columnName = null; String columnName = null;
if(field.isAnnotationPresent(Column.class)) { if(field.isAnnotationPresent(Column.class)) {
...@@ -65,7 +64,6 @@ public class Desc { ...@@ -65,7 +64,6 @@ public class Desc {
all_column_names.add(columnName); all_column_names.add(columnName);
} }
} }
}
this.name = tableName; this.name = tableName;
this.fieldNames = all_field_names.toArray(new String[all_field_names.size()]); this.fieldNames = all_field_names.toArray(new String[all_field_names.size()]);
this.columnNames = all_column_names.toArray(new String[all_column_names.size()]); this.columnNames = all_column_names.toArray(new String[all_column_names.size()]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment