This commit is contained in:
Redkale
2016-08-27 15:29:40 +08:00
parent cffe181344
commit 2c5876ba3e

View File

@@ -30,7 +30,7 @@ public class DataCallAttribute implements Attribute<Object, Serializable> {
Class cltmp = clazz;
do {
for (Field field : cltmp.getDeclaredFields()) {
if (field.getAnnotation(javax.persistence.Id.class) == null) continue;
if (field.getAnnotation(javax.persistence.GeneratedValue.class) == null) continue;
try {
rs = Attribute.create(cltmp, field);
attributes.put(clazz, rs);