Skip to content

Commit

Permalink
2.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sim-wangyan committed Mar 13, 2024
1 parent e330dd4 commit 48e7c42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion sqli-core/src/main/java/io/xream/sqli/core/Repository.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public interface Repository extends QueryForCache {

<T> boolean removeIn(Keys<T> keys);


<T> T get(KeyOne<T> keyOne);

@Deprecated
Expand Down

0 comments on commit 48e7c42

Please sign in to comment.