} else {
statement.append(")");
}
}
InsertCommandImpl cmd = new InsertCommandImpl(statement.toString(),
(String[]) generatedKeys.toArray(new String[0]));
Iterator params = parameters.iterator();
for (int idx = 1; params.hasNext(); idx++) {
Property property = (Property) params.next();
ParameterExtendedImpl p = new ParameterExtendedImpl();
p.setName(property.getName());
p.setType(property.getType());
p.setColumnType(SDODataTypeHelper.columnTypeForSDOType(property.getType()));
p.setConverter(getConverter(table.getConverter(property.getName())));
p.setIndex(idx);
cmd.addParameter(p);
}
if (this.logger.isDebugEnabled()) {
this.logger.debug(statement.toString());
}