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