File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 28
28
import org .hibernate .dialect .NullOrdering ;
29
29
import org .hibernate .dialect .Replacer ;
30
30
import org .hibernate .dialect .SelectItemReferenceStrategy ;
31
+ import org .hibernate .dialect .function .InsertSubstringOverlayEmulation ;
31
32
import org .hibernate .engine .jdbc .env .spi .IdentifierCaseStrategy ;
32
33
import org .hibernate .engine .jdbc .env .spi .IdentifierHelper ;
33
34
import org .hibernate .engine .jdbc .env .spi .IdentifierHelperBuilder ;
@@ -375,6 +376,9 @@ public void initializeFunctionRegistry(FunctionContributions functionContributio
375
376
if ( supportsWindowFunctions () ) {
376
377
functionFactory .windowFunctions ();
377
378
}
379
+
380
+ functionRegistry .register ( "overlay" ,
381
+ new InsertSubstringOverlayEmulation ( typeConfiguration , true ) );
378
382
}
379
383
380
384
@ Override
You can’t perform that action at this time.
0 commit comments