diff --git a/vcell-server/src/main/java/cbit/vcell/modeldb/BioModelTable.java b/vcell-server/src/main/java/cbit/vcell/modeldb/BioModelTable.java index 92600a5591..1743fd360a 100644 --- a/vcell-server/src/main/java/cbit/vcell/modeldb/BioModelTable.java +++ b/vcell-server/src/main/java/cbit/vcell/modeldb/BioModelTable.java @@ -177,8 +177,8 @@ public String getPreparedStatement_BioModelReps(String conditions, OrderBy order GroupTable groupTable = GroupTable.table; UserTable userTable = UserTable.table; - String concat_function_name = (dbSyntax==DatabaseSyntax.ORACLE) ? "wm_concat" : "string_agg"; - String concat_second_arg = (dbSyntax==DatabaseSyntax.ORACLE) ? "" : ", ','"; + String concat_function_name = (dbSyntax==DatabaseSyntax.ORACLE) ? "listagg" : "string_agg"; + String concat_second_arg = (dbSyntax==DatabaseSyntax.ORACLE) ? ", ','" : ", ','"; String string_cast = (dbSyntax==DatabaseSyntax.ORACLE) ? "" : "::varchar(255)"; String subquery = diff --git a/vcell-server/src/main/java/cbit/vcell/modeldb/PublicationTable.java b/vcell-server/src/main/java/cbit/vcell/modeldb/PublicationTable.java index 5813767c36..fd44e7e5ab 100644 --- a/vcell-server/src/main/java/cbit/vcell/modeldb/PublicationTable.java +++ b/vcell-server/src/main/java/cbit/vcell/modeldb/PublicationTable.java @@ -87,8 +87,8 @@ public String getPreparedStatement_PublicationReps(String conditions, OrderBy or PublicationTable pubTable = PublicationTable.table; PublicationModelLinkTable pubModelTable = PublicationModelLinkTable.table; - String concat_function_name = (dbSyntax==DatabaseSyntax.ORACLE) ? "wm_concat" : "string_agg"; - String concat_second_arg = (dbSyntax==DatabaseSyntax.ORACLE) ? "" : ", ','"; + String concat_function_name = (dbSyntax==DatabaseSyntax.ORACLE) ? "listagg" : "string_agg"; + String concat_second_arg = (dbSyntax==DatabaseSyntax.ORACLE) ? ", ','" : ", ','"; String string_cast = (dbSyntax==DatabaseSyntax.ORACLE) ? "" : "::varchar(255)"; String subquery =