Created
April 24, 2017 09:12
-
-
Save KDamir/52f1c08398da625efca2dcb01429cee8 to your computer and use it in GitHub Desktop.
CustomSqlDialect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kz.inessoft.stomagic.common.data.util; | |
import org.hibernate.dialect.PostgreSQL9Dialect; | |
import org.hibernate.dialect.function.StandardSQLFunction; | |
/** | |
* Created by damir.keldibekov on 24.04.2017. | |
*/ | |
public class CustomPostgreSQL9Dialect extends PostgreSQL9Dialect { | |
public CustomPostgreSQL9Dialect() { | |
super(); | |
registerFunction("replace", new StandardSQLFunction("replace")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment