diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-04-25 10:49:07 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-04-25 10:49:07 +0200 |
commit | 609c5d6d7a228f027c01dd203f78fe64ed641641 (patch) | |
tree | 615480127b3db4a41d0558246f79e7c688e0c666 /java/MyMyBatis/src/AbstractMapper.java | |
parent | 4eaaddb6813b0f563c9022e67f7a4d4a2fc8bae1 (diff) | |
download | share-609c5d6d7a228f027c01dd203f78fe64ed641641.zip share-609c5d6d7a228f027c01dd203f78fe64ed641641.tar.gz |
java : MyMyBatis : add selectSelf(TObject) -> reload() for free
Diffstat (limited to 'java/MyMyBatis/src/AbstractMapper.java')
-rw-r--r-- | java/MyMyBatis/src/AbstractMapper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/MyMyBatis/src/AbstractMapper.java b/java/MyMyBatis/src/AbstractMapper.java index c1ec675..42a0983 100644 --- a/java/MyMyBatis/src/AbstractMapper.java +++ b/java/MyMyBatis/src/AbstractMapper.java @@ -17,4 +17,6 @@ public interface AbstractMapper<TIdentity, TObject> List<TObject> select(); TObject selectOne(TIdentity id); + + TObject selectSelf(TObject obj); } |