[
https://hibernate.onjira.com/browse/HHH-6815?page=com.atlassian.jira.plug...
]
John Verhaeg commented on HHH-6815:
-----------------------------------
The solution provided addresses the type range disconnect between the Java and Relational
models in the description, but creates a new problem wrt existing TINYINT columns.
Created HHH-7060 to deal with this.
ByteTest fails on SQL Server due to driver dropping negative sign due
to TINYINT data type
------------------------------------------------------------------------------------------
Key: HHH-6815
URL:
https://hibernate.onjira.com/browse/HHH-6815
Project: Hibernate ORM
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.CR6
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:
http://www.atlassian.com/software/jira