HHH-11296 - Incorrect handling of NCLOB streaming

This commit is contained in:
Steve Ebersole 2016-12-01 09:48:43 -06:00
parent 37b2ffc560
commit 0ab2992a9a
1 changed files with 2 additions and 2 deletions

View File

@ -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() );
}
};
}