com.poscoict.glueframework.dao.jdbc
Class GlueJdbcTemplate

java.lang.Object
  extended by org.springframework.jdbc.support.JdbcAccessor
      extended by org.springframework.jdbc.core.JdbcTemplate
          extended by com.poscoict.glueframework.dao.jdbc.GlueJdbcTemplate
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.jdbc.core.JdbcOperations

public class GlueJdbcTemplate
extends org.springframework.jdbc.core.JdbcTemplate

Spring JDBCÀÇ JdbcTemplate Ŭ·¡½º¸¦ È®ÀåÇÏ¿© PageSet ±â´ÉÀ» Á¦°øÇÔ.
Application should not use this class.


Field Summary
 
Fields inherited from class org.springframework.jdbc.support.JdbcAccessor
logger
 
Constructor Summary
GlueJdbcTemplate()
          »ý¼ºÀÚ(constructor).
GlueJdbcTemplate(DataSource dataSource)
          »ý¼ºÀÚ(constructor).
 
Method Summary
protected  org.springframework.jdbc.core.RowMapper<Map<String,Object>> getColumnMapRowMapper()
           
 List<Map<String,Object>> query(String sql, int pageSize, int curPage)
           
 List<Map<String,Object>> query(String sql, List<?> args, int pageSize, int curPage)
           
 
Methods inherited from class org.springframework.jdbc.core.JdbcTemplate
applyStatementSettings, batchUpdate, batchUpdate, batchUpdate, batchUpdate, batchUpdate, call, createConnectionProxy, createResultsMap, execute, execute, execute, execute, execute, execute, execute, extractOutputParameters, extractReturnedResults, getFetchSize, getMaxRows, getNativeJdbcExtractor, getQueryTimeout, getSingleColumnRowMapper, handleWarnings, handleWarnings, isIgnoreWarnings, isResultsMapCaseInsensitive, isSkipResultsProcessing, isSkipUndeclaredResults, newArgPreparedStatementSetter, newArgTypePreparedStatementSetter, processResultSet, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, queryForInt, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForList, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForLong, queryForMap, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForObject, queryForObject, queryForObject, queryForObject, queryForObject, queryForRowSet, queryForRowSet, queryForRowSet, setFetchSize, setIgnoreWarnings, setMaxRows, setNativeJdbcExtractor, setQueryTimeout, setResultsMapCaseInsensitive, setSkipResultsProcessing, setSkipUndeclaredResults, update, update, update, update, update, update, update
 
Methods inherited from class org.springframework.jdbc.support.JdbcAccessor
afterPropertiesSet, getDataSource, getExceptionTranslator, isLazyInit, setDatabaseProductName, setDataSource, setExceptionTranslator, setLazyInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueJdbcTemplate

public GlueJdbcTemplate()
»ý¼ºÀÚ(constructor).


GlueJdbcTemplate

public GlueJdbcTemplate(DataSource dataSource)
»ý¼ºÀÚ(constructor).

Parameters:
dataSource - DataSource
Method Detail

getColumnMapRowMapper

protected org.springframework.jdbc.core.RowMapper<Map<String,Object>> getColumnMapRowMapper()
Overrides:
getColumnMapRowMapper in class org.springframework.jdbc.core.JdbcTemplate

query

public List<Map<String,Object>> query(String sql,
                                      int pageSize,
                                      int curPage)
Parameters:
sql -
pageSize -
curPage -
Returns:

query

public List<Map<String,Object>> query(String sql,
                                      List<?> args,
                                      int pageSize,
                                      int curPage)
Parameters:
sql -
args -
pageSize -
curPage -
Returns:
List


Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.