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

Copy paste doesn't work in data grid with postgresql driver verison 42.2.13 and later #90

Closed
prasanthreddy-git opened this issue Jun 25, 2021 · 3 comments

Comments

@prasanthreddy-git
Copy link
Collaborator

prasanthreddy-git commented Jun 25, 2021

Copy paste into data grid fails with postgresql driver 42.2.11 and later. Seems to work file until 42.2.10.

@prasanthreddy-git
Copy link
Collaborator Author

After loading the first column data entered movetoCurrentRow is called. When entering data for the same row postgresql driver is throwing an exception "java.lang.IllegalArgumentException: Attempted to write to readonly tuple".

If we call rowset.absolute(rownumber) before updating the row postgresql doesn't through the exception. Right now we don't all the rowset.absolute if we are already on the row that needs to be updated.

@prasanthreddy-git
Copy link
Collaborator Author

pgjdbc/pgjdbc#2194

@bpangburn
Copy link
Owner

This was an issue in the PostgreSQL JDBC driver that has since been resolved:
pgjdbc/pgjdbc#2193
pgjdbc/pgjdbc#2194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants