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

Tom Waterhouse (JIRA) noreply at atlassian.com
Wed Jul 21 15:20:35 EDT 2010


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
            Priority: Critical


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