[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5400) Binding BLOB values via byte[] (MaterializedBlobType) fails in 3.6 on MySQL
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Jul 27 09:53:38 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-5400:
--------------------------------
Summary: Binding BLOB values via byte[] (MaterializedBlobType) fails in 3.6 on MySQL (was: Blob persistence fails with Hibernate 3.6.0-SNAPSHOT, works with 3.5.3-Final)
> Binding BLOB values via byte[] (MaterializedBlobType) fails in 3.6 on MySQL
> ---------------------------------------------------------------------------
>
> 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
> Fix For: 3.6.0.Beta2
>
> Attachments: hhh-5400.zip
>
> Time Spent: 3h 2m
> 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