Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

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

Anupam M (JIRA)

2010-07-21

Replies: Find Java Web Hosting

Author LoginPost Reply
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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.