|
From: Brendan C. (JIRA) <nh...@gm...> - 2011-06-10 13:21:25
|
Binary data being truncated to 8000 bytes when persisting to varbinary(MAX) - Sql Server 2008
---------------------------------------------------------------------------------------------
Key: NH-2764
URL: http://216.121.112.228/browse/NH-2764
Project: NHibernate
Issue Type: Bug
Components: Core
Affects Versions: 3.1.0
Reporter: Brendan Cox
Priority: Critical
Attachments: ByteTruncationRepro.zip
Hi
After upgrading from NHibernate 2.1 to 3.1.0 I appear to have hit a regression that was marked as fixed in version 3.1.0, refer [#NH-2484].
All attempts to persist binary data exceeding 8k to varbinary(MAX) results in the data being truncated, all worked well using version 2.1, unfortunately upgrading to 3.1.0 has introduced this truncation issue.
No exception is thrown and no indication is given that the attempt to serialize the binary data to varbinary(MAX) table column has occured.
Attachment provided illustrates the issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|