HHH-11296 - Incorrect handling of NCLOB streaming
This commit is contained in:
parent
37b2ffc560
commit
0ab2992a9a
|
@ -126,7 +126,7 @@ public abstract class NClobTypeDescriptor implements SqlTypeDescriptor {
|
|||
CharacterStream.class,
|
||||
options
|
||||
);
|
||||
st.setCharacterStream( index, characterStream.asReader(), characterStream.getLength() );
|
||||
st.setNCharacterStream( index, characterStream.asReader(), characterStream.getLength() );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -137,7 +137,7 @@ public abstract class NClobTypeDescriptor implements SqlTypeDescriptor {
|
|||
CharacterStream.class,
|
||||
options
|
||||
);
|
||||
st.setCharacterStream( name, characterStream.asReader(), characterStream.getLength() );
|
||||
st.setNCharacterStream( name, characterStream.asReader(), characterStream.getLength() );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue