[jboss-jira] [JBoss JIRA] Commented: (HIBERNATE-63) Blob Type get method fails on JConn2 driver for ASA

Chris Rudd (JIRA) jira-events at lists.jboss.org
Thu May 3 15:23:30 EDT 2007


    [ http://jira.jboss.com/jira/browse/HIBERNATE-63?page=comments#action_12361366 ] 
            
Chris Rudd commented on HIBERNATE-63:
-------------------------------------

Should the blob code also honor the Environment useStreamsForBinary?

> Blob Type get method fails on JConn2 driver for ASA
> ---------------------------------------------------
>
>                 Key: HIBERNATE-63
>                 URL: http://jira.jboss.com/jira/browse/HIBERNATE-63
>             Project: Hibernate
>          Issue Type: Bug
>            Reporter: Chris Rudd
>         Assigned To: Steve Ebersole
>
> ASAs JConn2 driver has deprectated the get/setBlob methods (throws UnsupportedOperation).
> The current implementation of org.hibernate.type.BlobType (hibernate project) and org.hibernate.type.SerializableToBlobType (annotations project) consult the dialects useInputStreamToInsertBlob and will use a BinaryStream to insert the blobl data if the dialect requires it.
> There is no setting / the existing setting is not used when extracting the data in the get method. It seams that ther should either be a new setting to specify that an outputstream needs to be used to extract that data, or adjust the meaning of the existing useInputStreamToInsertBlob to include read operations as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list