kr.co.hit.live.query.element
Class IterateSqlText
java.lang.Object
kr.co.hit.live.query.element.DynamicSqlText
kr.co.hit.live.query.element.IterateSqlText
- All Implemented Interfaces:
- SqlText
public class IterateSqlText
- extends DynamicSqlText
컬럼 항목의 개수에 따라서 SQL이 생성되는 기능을 제공한다.
- Since:
- 4.0
- Author:
- 김형도
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IterateSqlText
public IterateSqlText(String prop,
String open,
String close,
String conjunction,
int vtype)
appendSql
public void appendSql(ValueObject params,
StringBuilder sb,
List<SqlParameter> sqlParams,
int paramIdx,
DbmsSupporter supporter,
DefinitionMap defMap)
- Description copied from interface:
SqlText
- 파싱된 SQL 문장을 StringBuilder에 append하고 SqlParameter 들은 sqlParams에 add한다.
- Specified by:
appendSql in interface SqlText- Specified by:
appendSql in class DynamicSqlText
sb - SQL 문장을 여기에 계속 추가한다.sqlParams - SqlParameter 객체를 여기에 계속 추가한다.
Copyright © 2014. All Rights Reserved.