public class Query extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
protected ArrayList<DBField> |
psFields |
protected String |
query |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
fill(PreparedStatement ps,
DBQueryDescriptor desc) |
PreparedStatement |
get(Connection conn,
DBQueryDescriptor desc) |
ArrayList<DBField> |
getPSFields() |
String |
getQuery() |
PreparedStatement |
prepare(Connection conn) |
PreparedStatement |
prepare(Connection conn,
int statementOption) |
protected static final org.slf4j.Logger log
protected final String query
public PreparedStatement prepare(Connection conn, int statementOption) throws SQLException
SQLExceptionpublic PreparedStatement prepare(Connection conn) throws SQLException
SQLExceptionpublic PreparedStatement get(Connection conn, DBQueryDescriptor desc) throws SQLException, InvalidRequestException
SQLExceptionInvalidRequestExceptionpublic PreparedStatement fill(PreparedStatement ps, DBQueryDescriptor desc) throws SQLException, InvalidRequestException
SQLExceptionInvalidRequestExceptionpublic String getQuery()
Copyright © 2019. All Rights Reserved.