diff --git a/modules/apps/object/object-service/src/main/java/com/liferay/object/internal/dao/db/ObjectDBManagerUtil.java b/modules/apps/object/object-service/src/main/java/com/liferay/object/internal/dao/db/ObjectDBManagerUtil.java index 197ae903d981ba..02b8fb36db2ea8 100644 --- a/modules/apps/object/object-service/src/main/java/com/liferay/object/internal/dao/db/ObjectDBManagerUtil.java +++ b/modules/apps/object/object-service/src/main/java/com/liferay/object/internal/dao/db/ObjectDBManagerUtil.java @@ -51,8 +51,9 @@ public static void createIndexMetadata( public static void runSQL(DataSource dataSource, Log log, String sql) { - // Objects DDL instructions end with ";". Only DB#runSQL can handle it. - // See LPD-25786. + // DB#runSQL can handle SQL made up of multiple statements delimited by + // semicolons, whereas the default implementation in + // *ServiceBaseImpl#runSQL cannot. See LPD-25786. if (log.isDebugEnabled()) { log.debug("SQL: " + sql);