Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement