Query.TYPE| Constructor and Description |
|---|
BaseQuery() |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
createPreparedStatement(Connection connection) |
List<Object> |
getParameters() |
String |
getQuery() |
boolean |
returnGeneratedKeys() |
void |
setParameters(List<Object> parameters) |
void |
setQuery(String query) |
void |
setQueryFromResource(ClassLoader classLoader,
String resourcePath) |
void |
setQueryFromResource(String resourcePath) |
void |
setReturnGeneratedKeys(boolean returnGeneratedKeys) |
void |
setType(Query.TYPE type) |
public List<Object> getParameters()
getParameters in interface Querypublic void setQuery(String query)
public void setQueryFromResource(ClassLoader classLoader, String resourcePath)
public void setQueryFromResource(String resourcePath)
public void setType(Query.TYPE type)
public boolean returnGeneratedKeys()
returnGeneratedKeys in interface Querypublic void setReturnGeneratedKeys(boolean returnGeneratedKeys)
public PreparedStatement createPreparedStatement(Connection connection) throws SQLException
createPreparedStatement in interface QuerySQLExceptionCopyright © 2017 Irenical. All rights reserved.