From 67035ddeab4b6459bed53187e6f1cee22940e045 Mon Sep 17 00:00:00 2001 From: Tapac Date: Sat, 13 Oct 2018 15:48:38 +0300 Subject: [PATCH] groupConcat reworked: Oracle fixes --- .../kotlin/org/jetbrains/exposed/sql/vendors/OracleDialect.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/jetbrains/exposed/sql/vendors/OracleDialect.kt b/src/main/kotlin/org/jetbrains/exposed/sql/vendors/OracleDialect.kt index fb869b102f..07f275f596 100644 --- a/src/main/kotlin/org/jetbrains/exposed/sql/vendors/OracleDialect.kt +++ b/src/main/kotlin/org/jetbrains/exposed/sql/vendors/OracleDialect.kt @@ -84,7 +84,7 @@ internal object OracleFunctionProvider : FunctionProvider() { if (expr.orderBy.size != 1) TransactionManager.current().throwUnsupportedException("LISTAGG requires single order by clause") append("LISTAGG(") - append(expr.expr) + append(expr.expr.toSQL(queryBuilder)) expr.separator?.let { append(", '$it'") }