Postgresql String Replace Function In Java