public void executeUpdateDDL(DBContentType contentType, String oldCode, String newCode) throws SQLException {
ConnectionHandler connectionHandler = getConnectionHandler();
Connection connection = connectionHandler.getPoolConnection(getSchema());
try {
DatabaseDDLInterface ddlInterface = connectionHandler.getInterfaceProvider().getDDLInterface();
ddlInterface.updateObject(getName(), getObjectType().getName(), oldCode, newCode, connection);
} finally {
connectionHandler.freePoolConnection(connection);
}
}