[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-4452) Sybase ignores the last byte when persisting a byte [] with BinaryType and the last byte is 0
Strong Liu (JIRA)
noreply at atlassian.com
Thu Oct 27 08:09:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Strong Liu resolved HHH-4452.
-----------------------------
Resolution: Won't Fix
Assignee: Strong Liu
http://community.jboss.org/wiki/HibernateSybaseIntegration
> Sybase ignores the last byte when persisting a byte [] with BinaryType and the last byte is 0
> ----------------------------------------------------------------------------------------------
>
> Key: HHH-4452
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4452
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.5.0.Beta-1, 3.6.0
> Environment: hibernate-core trunk + sybase ase 15
> Reporter: Strong Liu
> Assignee: Strong Liu
>
> this issue can be repro with org.hibernate.test.annotations.LobTest.testBinary().
> and that test will throw an ArrayIndexOutOfBoundsException.
> but if we change metadata[1] = (byte) 0; to metadata[1] = (byte) 2; (something else except 0), then the test will pass.
>
--
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