diff options
Diffstat (limited to 'java/MyMyBatis/src/AbstractDAOOperations.java')
-rw-r--r-- | java/MyMyBatis/src/AbstractDAOOperations.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/MyMyBatis/src/AbstractDAOOperations.java b/java/MyMyBatis/src/AbstractDAOOperations.java index 90e0ff4..854811a 100644 --- a/java/MyMyBatis/src/AbstractDAOOperations.java +++ b/java/MyMyBatis/src/AbstractDAOOperations.java @@ -41,4 +41,9 @@ public abstract class AbstractDAOOperations<TIdentity, { return execObject(m -> m.selectOne(id)); } + + public TObject selectSelf(final TObject obj) + { + return execObject(m -> m.selectSelf(obj)); + } } |