|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
GlueGenericJdbcDao | µ¥ÀÌŸº£À̽º CRUD(Create, Read, Update, Delete) ¿ÀÆÛ·¹À̼ÇÀ» Ãß»óÈÇÏ¿© Á¦°øÇÏ´Â Data Access Object ÀÎÅÍÆäÀ̽º. |
Class Summary | |
---|---|
GlueJdbcDao | µ¥ÀÌŸº£À̽º CRUD(Create, Read, Update, Delete) ¿ÀÆÛ·¹À̼ÇÀ» Ãß»óÈÇÏ¿© Á¦°øÇÏ´Â Data Access Object ¿ÀºêÁ§Æ®. |
GlueJdbcTemplate | Spring JDBCÀÇ JdbcTemplate Ŭ·¡½º¸¦ È®ÀåÇÏ¿© PageSet ±â´ÉÀ» Á¦°øÇÔ. |
GlueLazyJdbcDao | GlueLazyJdbcDao. |
GlueQueryStringHelper | Deprecated. |
dao package for jdbc. Glue Data Access Object(DAO).
DAO class´Â applicationContext.xml¿¡ Á¤ÀǵȴÙ.
1. applicationContext.xml2. query/{name}-query.glue_sql 3. vo(returnType) : sample.vo.EmpVO package sample.vo; import java.sql.Date; public class EmpVO { private Number empno; private String ename; private String job; private Number mgr; private Date hiredate; private Number sal; private Number comm; private Number deptno; public Number getEmpno() { return empno; } public void setEmpno(Number empno) { this.empno = empno; } public String getEname() { return ename; } public void setEname(String ename) { this.ename = ename; } public String getJob() { return job; } public void setJob(String job) { this.job = job; } public Number getMgr() { return mgr; } public void setMgr(Number mgr) { this.mgr = mgr; } public Date getHiredate() { return hiredate; } public void setHiredate(Date hiredate) { this.hiredate = hiredate; } public Number getSal() { return sal; } public void setSal(Number sal) { this.sal = sal; } public Number getComm() { return comm; } public void setComm(Number comm) { this.comm = comm; } public Number getDeptno() { return deptno; } public void setDeptno(Number deptno) { this.deptno = deptno; } } 4. java(custom activity) code // dao °¡Á®¿À±â. GlueGenericDao dao = this.getDao("dao"); // binding Á¤º¸ ±¸¼º (case 1) GlueParameter listParam = new GlueParameter
(); List paramList = new ArrayList(); paramList.add( "10" ); listParam.setParameter(paramList); // binding Á¤º¸ ±¸¼º (case 2) GlueParameter
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |