Query slower in Servoy than PGAdmin. Why?

david:
I suspect that Servoy via the JDBC driver isn’t passing type at all

For custom queries (getDatasetByQuery) we don’t have the type and use PreparedStatement.setObject().
I guess that the new postgres will base the type on the actual value used and not on wether setString/setTimestamp/etc is called.

For find-queries we do call setTimestamp because we know the type.

Rob