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:
parent
785dac135a
commit
83643af8d0
|
@ -960,6 +960,11 @@ public class DB2Dialect extends Dialect {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean useInputStreamToInsertBlob() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesReadCommittedCauseWritersToBlockReaders() {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue