HHH-11296 - Incorrect handling of NCLOB streaming

(cherry picked from commit 0ab2992a9a)
This commit is contained in:
Steve Ebersole 2016-12-01 09:48:43 -06:00 committed by Gail Badner
parent 30c0b96c92
commit 8701d1044c
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() );
} }
}; };
} }