Commit 2dbd7af7 authored by Quxl's avatar Quxl

x

parent 071beacc
......@@ -8,6 +8,7 @@ import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import com.egolm.common.StringUtil;
......@@ -37,6 +38,9 @@ public class Desc {
List<String> pk_column_names = new ArrayList<String>();
for(int i = 0; i < objectFields.length; i++) {
Field field = objectFields[i];
if(field.isAnnotationPresent(Transient.class)) {
continue;
}
int mod = field.getModifiers();
if(!Modifier.isStatic(mod) && !Modifier.isFinal(mod)) {
String fieldName = field.getName();
......
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