Commit bb4ee4c7 authored by Quxl's avatar Quxl

x

parent f4cd3842
......@@ -43,9 +43,9 @@ public class Desc {
}
int mod = field.getModifiers();
if(!Modifier.isStatic(mod) && !Modifier.isFinal(mod)) {
String fieldName = field.getName();
String columnName = null;
if(!field.isAnnotationPresent(Transient.class)) {
String fieldName = field.getName();
String columnName = null;
if(field.isAnnotationPresent(Column.class)) {
Column column = field.getAnnotation(Column.class);
String columnAnnoName = column.name();
......
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