Skip to content

Commit e351a00

Browse files
committed
fix a typo in previous commit
Signed-off-by: Gavin King <[email protected]>
1 parent 72e4281 commit e351a00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/aggregate/PostgreSQLAggregateSupport.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import org.hibernate.metamodel.mapping.JdbcMapping;
1717
import org.hibernate.metamodel.mapping.SelectableMapping;
1818
import org.hibernate.metamodel.mapping.SelectablePath;
19-
import org.hibernate.sql.Template;
2019
import org.hibernate.sql.ast.SqlAstNodeRenderingMode;
2120
import org.hibernate.sql.ast.SqlAstTranslator;
2221
import org.hibernate.sql.ast.spi.SqlAppender;
@@ -305,7 +304,7 @@ private static class BasicJsonWriteExpression implements JsonWriteExpression {
305304
this.customWriteExpressionEnd = "";
306305
}
307306
else {
308-
final String[] parts = StringHelper.split( ".", customWriteExpression );
307+
final String[] parts = StringHelper.split( "?", customWriteExpression );
309308
assert parts.length == 2;
310309
this.customWriteExpressionStart = parts[0];
311310
this.customWriteExpressionEnd = parts[1];

0 commit comments

Comments
 (0)