Issue Details (XML | Word | Printable)

Key: JDBC-383
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

LibreOffice doesn't display tables with more than 41 records

Created: 07/Mar/15 03:05 PM   Updated: 31/May/15 02:37 PM
Component/s: JDBC driver
Affects Version/s: Jaybird 2.2, Jaybird 2.2.1, Jaybird 2.2.2, Jaybird 2.2.3, Jaybird 2.2.4, Jaybird 2.2.5, Jaybird 2.2.6, Jaybird 2.2.7
Fix Version/s: Jaybird 2.2.8, Jaybird 3.0.0


 Description  « Hide
LibreOffice doesn't display tables with more than 41 records, even when using the :oo subprotocol. Workaround is to specify defaultHoldable=true in the connection string. The reason seems to be that LibreOffice caches 41 records, and uses the ResultSet when you scroll to record 42 or further (which is then already closed).

Either the protocol must use defaultHoldable=true by default, or we need to investigate how to address this specific problem.

See also: https://groups.yahoo.com/neo/groups/Firebird-Java/conversations/messages/11096

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 08/Mar/15 01:47 PM
The way statements were created in the OpenOffice protocol forgot certain holdability upgrades, removed OO/LO specific statement types, and enforced holdability to be holdable over commit always in the OO/LO protocol. Simplified other parts of the code by removing unnecessary method overrides in the metadata.

A quick test shows that this fixes the immediate problem of this ticket. I will perform some further testing in LibreOffice before the 2.2.8 release.