[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3691) Sybase does not support Blobs and Clobs; it uses image and text instead

Gail Badner (JIRA) noreply at atlassian.com
Fri Feb 20 15:42:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32476#action_32476 ] 

Gail Badner commented on HHH-3691:
----------------------------------

Sample code working with image data using BinaryStream is iincluded in Sybase ASE 15 release at jConnect-6_0/sample2/BinaryStream.java . 

There is also sample code for using TextPtr but that is non-standard JDBC and is deprecated. 

> Sybase does not support Blobs and Clobs; it uses image and text instead
> -----------------------------------------------------------------------
>
>                 Key: HHH-3691
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3691
>             Project: Hibernate Core
>          Issue Type: Bug
>            Reporter: Gail Badner
>
> SybaseDialect needs to be set up to use image and text instead of Blob and Clob.
> The following unit tests are failing for Sybase with the message, "The method com.sybase.jdbc2.jdbc.SybResultSet.getBlob(String) is not supported and should not be called.":
> BlobTest.testBoundedMaterializedBlobAccess
> BlobTest.testBoundedBlobLocatorAccess
> BlobTest.testUnboundedBlobLocatorAccess
> ClobTest.testBoundedMaterializedClobAccess
> ClobTest.testBoundedClobLocatorAccess
> ClobTest.testUnboundedClobLocatorAccess
> SerializableTypeTest.testNewSerializableType
> MixedTest.testMixedInheritance
> InterfaceProxyTest.testInterfaceProxies
> SQLFunctionsTest.testBlobClob

-- 
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