[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6779) ByteType mapped to tinyint, but on sybase/ms sql server, tinyint is unsigned int
Strong Liu (JIRA)
noreply at atlassian.com
Thu Oct 27 10:49:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Strong Liu updated HHH-6779:
----------------------------
Affects Version/s: 3.6.8
4.0.0.CR5
> ByteType mapped to tinyint, but on sybase/ms sql server, tinyint is unsigned int
> --------------------------------------------------------------------------------
>
> Key: HHH-6779
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6779
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.6.8, 4.0.0.CR5
> Environment: sybase, sql server
> Reporter: Strong Liu
>
> ByteType maps tinyint and byte
> which byte on java is [-128,127]
> but on sybase / sql server, the tinyint scope is [0-128)
> this causes org.hibernate.test.typedescriptor.ByteTest fail, stace trace is same as HHH-3679
> change the mapping of tinyint to number(3,0) in org.hibernate.dialect.AbstractTransactSQLDialect would fix this issue
--
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