super();
}
//JIRA-952
private String getDeleteStatement(MappingWrapper mapping, Table t) {
TableWrapper table = new TableWrapper(t);
StringBuffer statement = new StringBuffer();
statement.append("delete from ");
if(mapping.getConfig().isDatabaseSchemaNameSupported()){
statement.append(t.getSchemaName()+"."+t.getTableName());
}
else{
statement.append(t.getTableName());
}
statement.append(" where ");
Iterator names = table.getPrimaryKeyNames().iterator();
Iterator properties = table.getPrimaryKeyProperties().iterator();
while (names.hasNext() && properties.hasNext()) {
String name = (String) names.next();
statement.append(name);
statement.append(" = ?");
if (names.hasNext() && properties.hasNext()) {