Postgresql Javascript Array Contains Method Java