Wrong usage of getFetchSize() method in DbMetadataSource class
|Reported by:||dirk.daems@…||Owned by:||abeccati|
The getFetchSize() method of a java.sql.ResultSet? is used the wrong way at several places in the DbMetadataSource? class.
The getFetchSize() method of a java.sql.ResultSet? doesn't return the size of the result set, but returns the number of rows (as a hint) the JDBC driver should fetch. As a consequence, I get warnings in my logfile indicating that multiple CRSs are associated with one axis, which is not the case.
So the usage of getFetchSize() should be replaced in the DbMetadataSource? class (and possibly in other Petascope classes as well).