Fix Pgsql exception : Boolean cast for isRead parameter