public class GlueMybatisDao extends Object implements GlueGenericDao
Constructor and Description |
---|
GlueMybatisDao() |
Modifier and Type | Method and Description |
---|---|
int |
delete(String queryKey)
delete SQLÀ» ¼öÇàÇÑ´Ù..
|
<P> int |
delete(String queryKey,
GlueParameter<P> param)
delete SQLÀ» ¼öÇàÇÑ´Ù..
|
<T> List<T> |
find(String queryKey)
select SQLÀ» ¼öÇàÇÑ´Ù..
|
<T,P> List<T> |
find(String queryKey,
GlueParameter<P> param)
select SQLÀ» ¼öÇàÇÑ´Ù..
|
org.apache.ibatis.session.SqlSession |
getSqlSession() |
int |
insert(String queryKey)
insert SQLÀ» ¼öÇàÇÑ´Ù..
|
<P> int |
insert(String queryKey,
GlueParameter<P> param)
insert SQLÀ» ¼öÇàÇÑ´Ù..
|
void |
setSqlSession(org.apache.ibatis.session.SqlSession sqlSession)
setter method for DI.
|
int |
update(String queryKey)
update SQLÀ» ¼öÇàÇÑ´Ù..
|
<P> int |
update(String queryKey,
GlueParameter<P> param)
update SQLÀ» ¼öÇàÇÑ´Ù..
|
public org.apache.ibatis.session.SqlSession getSqlSession()
public void setSqlSession(org.apache.ibatis.session.SqlSession sqlSession)
sqlSession
- public int delete(String queryKey)
delete
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDpublic <P> int delete(String queryKey, GlueParameter<P> param)
delete
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDparam
- Äõ¸®¿¡ ¹ÙÀεù µÉ °ªµéÀÌ Á¤ÀÇµÈ °´Ã¼ ,VO°´Ã¼ ȤÀº MAPÀ» »ý¼ºÇÏ¿© GlueParameter¿¡ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.public <T> List<T> find(String queryKey)
find
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDpublic <T,P> List<T> find(String queryKey, GlueParameter<P> param)
find
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDparam
- Äõ¸®¿¡ ¹ÙÀεù µÉ °ªµéÀÌ Á¤ÀÇµÈ °´Ã¼ ,VO°´Ã¼ ȤÀº MAPÀ» »ý¼ºÇÏ¿© GlueParameter¿¡ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.public int insert(String queryKey)
insert
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDpublic <P> int insert(String queryKey, GlueParameter<P> param)
insert
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDparam
- Äõ¸®¿¡ ¹ÙÀεù µÉ °ªµéÀÌ Á¤ÀÇµÈ °´Ã¼ ,VO°´Ã¼ ȤÀº MAPÀ» »ý¼ºÇÏ¿© GlueParameter¿¡ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.public int update(String queryKey)
update
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDpublic <P> int update(String queryKey, GlueParameter<P> param)
update
in interface GlueGenericDao
queryKey
- Mybatis Mapper XML¿¡ Á¤ÀÇµÈ Query IDparam
- Äõ¸®¿¡ ¹ÙÀεù µÉ °ªµéÀÌ Á¤ÀÇµÈ °´Ã¼ ,VO°´Ã¼ ȤÀº MAPÀ» »ý¼ºÇÏ¿© GlueParameter¿¡ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.Copyright © 2013–2019 POSCO ICT. All rights reserved.