HHH-18604 Fix some issues with older database versions
This commit is contained in:
parent
5b602bdf94
commit
7b176df6b7
|
@ -42,7 +42,7 @@ public class PostgreSQLJsonArrayAppendFunction extends AbstractJsonArrayAppendFu
|
|||
sqlAppender.appendSql( "jsonb_set_lax" );
|
||||
}
|
||||
else {
|
||||
sqlAppender.appendSql( "case when t.d#>t.p is not null then jsonb_set" );
|
||||
sqlAppender.appendSql( "case when (t.d)#>t.p is not null then jsonb_set" );
|
||||
}
|
||||
sqlAppender.appendSql( "(t.d,t.p,(t.d)#>t.p||" );
|
||||
if ( value instanceof Literal && ( (Literal) value ).getLiteralValue() == null ) {
|
||||
|
|
Loading…
Reference in New Issue