File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
hibernate-core/src/main/java/org/hibernate/dialect Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -689,11 +689,10 @@ public void initializeFunctionRegistry(FunctionContributions functionContributio
689689 functionFactory .jsonArrayInsert_mysql ();
690690 functionFactory .regexpLike_regexp ();
691691
692- if ( getMySQLVersion ().isSameOrAfter ( 8 ) ) {
693- functionFactory .unnest_emulated ();
694- functionFactory .jsonTable_mysql ();
695- functionFactory .regexpLike ();
696- }
692+ functionFactory .unnest_emulated ();
693+ functionFactory .jsonTable_mysql ();
694+ functionFactory .regexpLike ();
695+
697696 if ( supportsRecursiveCTE () ) {
698697 functionFactory .generateSeries_recursive ( getMaximumSeriesSize (), false , false );
699698 }
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ public void initializeFunctionRegistry(FunctionContributions functionContributio
403403 functionFactory .jsonValue_oracle ();
404404 functionFactory .jsonQuery_oracle ();
405405 functionFactory .jsonExists_oracle ();
406- functionFactory .jsonObject_oracle ( getVersion (). isSameOrAfter ( 19 ) );
406+ functionFactory .jsonObject_oracle ( true );
407407 functionFactory .jsonArray_oracle ();
408408 functionFactory .jsonArrayAgg_oracle ();
409409 functionFactory .jsonObjectAgg_oracle ();
You can’t perform that action at this time.
0 commit comments