Skip to content

Commit 20ddffc

Browse files
ling-alan-huangbrianchandotcom
authored andcommitted
LPD-57274 SF
1 parent cf52347 commit 20ddffc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

portal-impl/src/com/liferay/portal/upgrade/v7_4_x/UpgradeServiceComponent.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ public class UpgradeServiceComponent extends UpgradeProcess {
3333
protected void doUpgrade() throws Exception {
3434
processConcurrently(
3535
SQLTransformer.transform(
36-
StringBundler.concat(
37-
"select buildNamespace, buildNumber, data_ from ",
38-
"ServiceComponent where buildNamespace like 'com.liferay%' ",
39-
"and buildNumber = (select max(buildNumber) from ",
40-
"ServiceComponent TEMP_TABLE where ServiceComponent.",
41-
"buildNamespace = TEMP_TABLE.buildNamespace)")),
36+
StringBundler.concat(
37+
"select buildNamespace, buildNumber, data_ from ",
38+
"ServiceComponent where buildNamespace like 'com.",
39+
"liferay%' and buildNumber = (select max(buildNumber) ",
40+
"from ServiceComponent TEMP_TABLE where ServiceComponent.",
41+
"buildNamespace = TEMP_TABLE.buildNamespace)")),
4242
"update ServiceComponent set data_ = ? where buildNamespace = ? " +
4343
"and buildNumber = ?",
4444
resultSet -> new Object[] {

0 commit comments

Comments
 (0)