" " + getColumnTimerInterval() + " " + longType + "," +
" " + getColumnInstancePK() + " " + objectType + "," +
" " + getColumnInfo() + " " + objectType + ", ");
// Add the primary key constraint using the pk-constraint-template
JDBCFunctionMappingMetaData pkConstraint = typeMapping.getPkConstraintTemplate();
String name = SQLUtil.unquote(getTableName(), ds) + "_PK";
name = SQLUtil.fixConstraintName(name, ds);
String[] templateParams = new String[] {
name,
getColumnTimerID() + ", " + getColumnTargetID()
};
pkConstraint.getFunctionSql(templateParams, createTableDDL);
// Complete the statement
createTableDDL.append(" )");
log.debug("Executing DDL: " + createTableDDL);