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 2828import  org .hibernate .dialect .NullOrdering ;
2929import  org .hibernate .dialect .Replacer ;
3030import  org .hibernate .dialect .SelectItemReferenceStrategy ;
31+ import  org .hibernate .dialect .function .InsertSubstringOverlayEmulation ;
3132import  org .hibernate .engine .jdbc .env .spi .IdentifierCaseStrategy ;
3233import  org .hibernate .engine .jdbc .env .spi .IdentifierHelper ;
3334import  org .hibernate .engine .jdbc .env .spi .IdentifierHelperBuilder ;
@@ -375,6 +376,9 @@ public void initializeFunctionRegistry(FunctionContributions functionContributio
375376		if  ( supportsWindowFunctions () ) {
376377			functionFactory .windowFunctions ();
377378		}
379+ 
380+ 		functionRegistry .register ( "overlay" ,
381+ 				new  InsertSubstringOverlayEmulation ( typeConfiguration , true  ) );
378382	}
379383
380384	@ Override 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments