HHH-18314 don't use streams for LOB binding on Db2

Since:

- we can use the JDBC LOB APIs, and
- setNCharacterStream() is not implemented by the driver

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-06-29 10:52:57 +02:00 committed by Steve Ebersole
parent 785dac135a
commit 83643af8d0
1 changed files with 5 additions and 0 deletions

View File

@ -960,6 +960,11 @@ public class DB2Dialect extends Dialect {
return false;
}
@Override
public boolean useInputStreamToInsertBlob() {
return false;
}
@Override
public boolean doesReadCommittedCauseWritersToBlockReaders() {
return true;