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, CharacterStream.class,
options options
); );
st.setCharacterStream( index, characterStream.asReader(), characterStream.getLength() ); st.setNCharacterStream( index, characterStream.asReader(), characterStream.getLength() );
} }
@Override @Override
@ -137,7 +137,7 @@ public abstract class NClobTypeDescriptor implements SqlTypeDescriptor {
CharacterStream.class, CharacterStream.class,
options options
); );
st.setCharacterStream( name, characterStream.asReader(), characterStream.getLength() ); st.setNCharacterStream( name, characterStream.asReader(), characterStream.getLength() );
} }
}; };
} }