HHH-11296 - Incorrect handling of NCLOB streaming
(cherry picked from commit 0ab2992a9a
)
This commit is contained in:
parent
30c0b96c92
commit
8701d1044c
|
@ -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