summaryrefslogtreecommitdiffstats
path: root/java/MyMyBatis/src/AbstractMapper.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-04-19 16:52:31 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2017-04-19 16:52:31 +0200
commit4eaaddb6813b0f563c9022e67f7a4d4a2fc8bae1 (patch)
treee0be79c1294562957089ca8641f65d6cf83677af /java/MyMyBatis/src/AbstractMapper.java
parent6fcde2655e8aedd56bff1de4e85bb83fee15c591 (diff)
downloadshare-4eaaddb6813b0f563c9022e67f7a4d4a2fc8bae1.zip
share-4eaaddb6813b0f563c9022e67f7a4d4a2fc8bae1.tar.gz
java : MyMyBatis : use java 8 default interface implementation to gain free save() and delete() methods
Diffstat (limited to 'java/MyMyBatis/src/AbstractMapper.java')
-rw-r--r--java/MyMyBatis/src/AbstractMapper.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/MyMyBatis/src/AbstractMapper.java b/java/MyMyBatis/src/AbstractMapper.java
index 33bd567..c1ec675 100644
--- a/java/MyMyBatis/src/AbstractMapper.java
+++ b/java/MyMyBatis/src/AbstractMapper.java
@@ -4,6 +4,8 @@ import java.util.List;
public interface AbstractMapper<TIdentity, TObject>
{
+ int save(TObject obj);
+
int insert(TObject obj);
int update(TObject obj);