diff options
Diffstat (limited to 'java/MyMyBatis/src/ModelDAO.java')
-rw-r--r-- | java/MyMyBatis/src/ModelDAO.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/MyMyBatis/src/ModelDAO.java b/java/MyMyBatis/src/ModelDAO.java new file mode 100644 index 0000000..908f35a --- /dev/null +++ b/java/MyMyBatis/src/ModelDAO.java @@ -0,0 +1,12 @@ +package ch.asynk; + +import java.util.List; + +public class ModelDAO extends AbstractDAOOperations<Model, Integer, ModelMapper> implements ModelMapper +{ + private static final ModelDAO instance = new ModelDAO(); + + private ModelDAO() { mapperClass = ModelMapper.class; } + + public static ModelDAO getInstance() { return instance; } +} |