Opened 12 years ago
Closed 12 years ago
#350 closed enhancement (fixed)
Wrong usage of getFetchSize() method in DbMetadataSource class
Reported by: | Dirk Daems | Owned by: | abeccati |
---|---|---|---|
Priority: | major | Milestone: | 8.4.1 |
Component: | petascope | Version: | 8.4 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
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).
Note:
See TracTickets
for help on using tickets.
Patch submitted, thanks.