Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreOffice doesn't display tables with more than 41 records [JDBC383] #425

Closed
firebird-issue-importer opened this issue Mar 7, 2015 · 4 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Mar 7, 2015

Submitted by: @mrotteveel

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 7, 2015

Modified by: @mrotteveel

Fix Version: Jaybird 2.2.8 [ 10664 ]

Fix Version: Jaybird 3.0 [ 10440 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 8, 2015

Commented by: @mrotteveel

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.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 5, 2015

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 31, 2015

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment