public abstract class AbstractDataIdGnrService extends AbstractIdGnrService implements EgovIdGnrService, org.springframework.beans.factory.DisposableBean
== 개정이력(Modification Information) == 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.02.01 김태호 최초 생성
| Modifier and Type | Field and Description |
|---|---|
protected DataSource |
dataSource
DB 연결을 위한 dataSource
|
protected int |
mAllocated
현재 블럭에 할당된 아이디 수
|
protected long |
mNextId
생성할 다음 ID
|
protected String |
query
쿼리 정보
|
messageSource, useBigDecimals| Constructor and Description |
|---|
AbstractDataIdGnrService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
소멸자
|
protected Connection |
getConnection()
DB 연결 Connection 얻기
|
void |
setDataSource(DataSource dataSource)
Configuration에 정의된 Datasource를 Setting
|
void |
setQuery(String query)
Configuration에 정의된 Query를 Setting
|
getNextBigDecimalId, getNextBigDecimalIdInner, getNextByteId, getNextIntegerId, getNextLongId, getNextLongIdChecked, getNextLongIdInner, getNextShortId, getNextStringId, getNextStringId, getNextStringId, getStrategy, isUsingBigDecimals, setApplicationContext, setBeanFactory, setStrategy, setUseBigDecimalsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextBigDecimalId, getNextByteId, getNextIntegerId, getNextLongId, getNextShortId, getNextStringId, getNextStringId, getNextStringIdprotected DataSource dataSource
protected String query
protected int mAllocated
protected long mNextId
protected Connection getConnection() throws SQLException
SQLException - Connection을 얻지 못했을 경우public void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic void setDataSource(DataSource dataSource)
dataSource - dataSource 정보public void setQuery(String query)
query - Query 정보Copyright © 2015. All rights reserved.