diff --git a/sqli-builder/src/main/java/io/xream/sqli/util/ParserUtil.java b/sqli-builder/src/main/java/io/xream/sqli/util/ParserUtil.java index b06190e..98ac4ad 100644 --- a/sqli-builder/src/main/java/io/xream/sqli/util/ParserUtil.java +++ b/sqli-builder/src/main/java/io/xream/sqli/util/ParserUtil.java @@ -337,7 +337,7 @@ public static void parseKey(Parsed parsed, Class clz) { }else { for (Annotation anno :f.getAnnotations()){ String annoName = anno.annotationType().getName(); - if (annoName.endsWith(".Id") || annoName.endsWith(".ID")){ + if (annoName.endsWith(".Id") || annoName.endsWith(".ID") || annoName.endsWith(".TableId")){ f.setAccessible(true); parsed.setKeyField(f); break; diff --git a/sqli-core/src/main/java/io/xream/sqli/core/Repository.java b/sqli-core/src/main/java/io/xream/sqli/core/Repository.java index 915f837..2abefcb 100644 --- a/sqli-core/src/main/java/io/xream/sqli/core/Repository.java +++ b/sqli-core/src/main/java/io/xream/sqli/core/Repository.java @@ -45,7 +45,6 @@ public interface Repository extends QueryForCache { boolean removeIn(Keys keys); - T get(KeyOne keyOne); @Deprecated