]
John Verhaeg resolved HHH-6815.
-------------------------------
Resolution: Fixed
Overrode SQLServerDialect.getSqlTypeDescriptorOverride(int) to return a
SmallIntTypeDescriptor instead when the datatype being updated is a TINYINT
ByteTest fails on SQL Server due to driver dropping negative sign due
to TINYINT data type
------------------------------------------------------------------------------------------
Key: HHH-6815
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6815
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 4.0.0.CR5
Environment: MS SQL Server
Reporter: John Verhaeg
Assignee: John Verhaeg
Fix For: 4.0.0.next
The range for a TINYINT on SQL Server is 0-255, and because we're starting with a
byte value, the driver automatically treats it as if it were updating a TINYINT column,
even though the actual column being updated is a SMALLINT.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: