Lukasz Antoniak commented on Bug HHH-8193

Try setting hibernate.jdbc.use_streams_for_binary to false and/or override SQLServer2008Dialect#useInputStreamToInsertBlob() (provide your own dialect) so that hereby method returns always false. This looks like JDBC related issue affecting MS SQL Server only. Provided test case works fine on H2 and Oracle (skipped verifying others). As far as I can tell, SQL Server JDBC driver expects reset input stream during parameter binding. I'll propose a fix shortly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira