[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-4452) Sybase ingroes the last byte when persis a byte [] with BinaryType and the last byte is 0
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Sep 22 10:52:50 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole reassigned HHH-4452:
-----------------------------------
Assignee: (was: Steve Ebersole)
> Sybase ingroes the last byte when persis 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
> Environment: hibernate-core trunk + sybase ase 15
> Reporter: 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.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list