You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I think my issue is related to #1901
but I have a different call order which I cannot change. In my case I first use bindNull() on PreparedBatch and add another binding with bind() after it. You can simply check that this is failing if you change TestPreparedBatch:273 and move this line up:
@TestpublicvoidtestBindNull() {
Handlehandle = h2Extension.getSharedHandle();
handle.execute("CREATE TABLE record (b bool)");
assertThat(handle.prepareBatch("INSERT INTO record (b) VALUES (:bVal)")
.bindNull("bVal", Types.BOOLEAN).add()
.bind("bVal", false).add()
.bindByType("bVal", null, boolean.class).add()
.execute()).containsExactly(1, 1, 1);
}
This will cause the test to fail.
If there is anything I can help you with please let me know.
Best regards
Markus Ritter
The text was updated successfully, but these errors were encountered:
Hi,
I think my issue is related to #1901
but I have a different call order which I cannot change. In my case I first use bindNull() on PreparedBatch and add another binding with bind() after it. You can simply check that this is failing if you change TestPreparedBatch:273 and move this line up:
This will cause the test to fail.
If there is anything I can help you with please let me know.
Best regards
Markus Ritter
The text was updated successfully, but these errors were encountered: