public class JDBCConditionConverter extends Object implements ConditionsConverter
| Constructor and Description |
|---|
JDBCConditionConverter(DDBSEntityManager<DDBSEntity<DDBSEntityProperty>> entityManager)
JDBC Condition converter
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConditionsString(Conditions conditions,
IEntity object) |
<T extends DDBSEntityProperty> |
prepareParametersPreparedStatement(PreparedStatement preparedStatement,
List<T> ddbsEntityProperties,
IEntity entity) |
void |
prepareStatement(PreparedStatement preparedStatement,
Conditions conditions,
DDBSEntity<DDBSEntityProperty> ddbsEntity)
Prepare a statement
|
public JDBCConditionConverter(DDBSEntityManager<DDBSEntity<DDBSEntityProperty>> entityManager)
entityManager - Entity managerpublic String getConditionsString(Conditions conditions, IEntity object)
getConditionsString in interface ConditionsConverterpublic void prepareStatement(PreparedStatement preparedStatement, Conditions conditions, DDBSEntity<DDBSEntityProperty> ddbsEntity) throws SQLException
preparedStatement - Prepared statementconditions - List of conditionsddbsEntity - DDBS EntitySQLException - SQL Exceptionpublic <T extends DDBSEntityProperty> PreparedStatement prepareParametersPreparedStatement(PreparedStatement preparedStatement, List<T> ddbsEntityProperties, IEntity entity) throws SQLException
SQLExceptionCopyright © 2016. All rights reserved.