[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6815) ByteTest fails on SQL Server due to driver dropping negative sign due to TINYINT data type

John Verhaeg (JIRA) noreply at atlassian.com
Wed Nov 9 13:34:22 EST 2011


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: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list