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
CLONE -Batch insert with setBinaryStream inserts an empty BLOB SUB_TYPE TEXT [JDBC433] #474
Comments
Modified by: Maurice Gasco (mgasco83)description: When using setBinaryStream(int, InputStream, int) with batch execution, the rows in the second batch (and the following) contain an empty BLOB. => I created a clone of Issue JDBC312 since I have the same problem with a BLOB sub_type 1 instead of BLOB sub_type 0. Here is the original description : environment: Windows 7 => Windows 2008R2 |
Commented by: @mrotteveel Which Jaybird version are you using? Also are you actually using setBinaryStream for a BLOB sub_type 1? Using setBinaryStream is atypical for a BLOB sub_type 1. If not could you please update the ticket to include the code you use |
Commented by: Maurice Gasco (mgasco83) I am using jaybird-jdk17 2.2.10 I am using Hibernate 3.6.5 so I need to check if It's using setBinaryStream. Other than that, same problem only rows of the first batch get the BLOB populated. |
Commented by: @mrotteveel Thanks. I will see if it is a similar problem. |
Commented by: @mrotteveel It was indeed the same issue as JDBC312, but then for SUB_TYPE TEXT. Commit fix to 2.2 and master. |
Modified by: @mrotteveelsummary: CLONE -Batch insert with setBinaryStream inserts an empty BLOB => CLONE -Batch insert with setBinaryStream inserts an empty BLOB SUB_TYPE TEXT |
Modified by: @mrotteveelstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Maurice Gasco (mgasco83)
I created a clone of Issue JDBC312 since I have the same problem with a BLOB sub_type 1 instead of BLOB sub_type 0.
Here is the original description :
When using setBinaryStream(int, InputStream, int) with batch execution, the rows in the second batch (and the following) contain an empty BLOB.
The rows in the first batch get correctly inserted.
All rows get correctly inserted when not using batch execution.
Commits: 8592a73 4d1c00c
The text was updated successfully, but these errors were encountered: