[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5400) Blob persistence fails with Hibernate 3.6.0-SNAPSHOT, works with 3.5.3-Final

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Jul 26 12:50:35 EDT 2010


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

Steve Ebersole commented on HHH-5400:
-------------------------------------

Maybe you can try this with Beta1 we released last week?  Or pull the latest snapshot.  At any rate, I am not able to reproduce what you are seeing at least without spring in the mix (did not try with spring)

> Blob persistence fails with Hibernate 3.6.0-SNAPSHOT, works with 3.5.3-Final
> ----------------------------------------------------------------------------
>
>                 Key: HHH-5400
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5400
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.x
>         Environment: MySQL 5.1/Spring 3.0.2
>            Reporter: Tom Waterhouse
>            Assignee: Steve Ebersole
>            Priority: Critical
>         Attachments: hhh-5400.zip
>
>          Time Spent: 37m
>  Remaining Estimate: 0h
>
> Blob fields of an object cause the following exception when persisted using Hibernate 3.6.0-SNAPSHOT:
> Caused by: java.lang.UnsupportedOperationException: Blob may not be manipulated from creating session
> 	at org.hibernate.engine.jdbc.BlobProxy.invoke(BlobProxy.java:116)
> 	at $Proxy27.getBytes(Unknown Source)
> 	at com.mysql.jdbc.PreparedStatement.setBlob(PreparedStatement.java:3165)
> 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.setBlob(NewProxyPreparedStatement.java:495)
> 	... 64 more
> This did not occur with Hibernate 3.5.3-Final

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