blob « JDBC « JPA Q&A

1. hibernate + Oracle 11.2 + BLOB

I googled a lot and haven't found working issue... In my web app I need need to upload large files using ajax. I use ajaxfileupload plugin for it. In my FormBean ...

2. Oracle BLOBs and Hibernate

hi guys how do you store BLOBs in Oracle ? I have managed to store a CLOB (>4kb) and I thought the same idea (as decribed here would work with BLOBs, but it doesn't. This code appears to be writing something into the BLOB, but nothing gets written into the database. This code creates a new row, but BLOB is ...

3. Saving Blob through Hibernate

org.hibernate.exception.GenericJDBCException: could not insert: [user.Product] at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException( at org.hibernate.exception.ErrorCodeConverter.convert( at org.hibernate.exception.JDBCExceptionHelper.convert( at org.hibernate.persister.BasicEntityPersister.insert( at org.hibernate.persister.BasicEntityPersister.insert( at org.hibernate.action.EntityInsertAction.execute( at org.hibernate.impl.ActionQueue.executeActions( at org.hibernate.impl.ActionQueue.executeActions( at org.hibernate.event.AbstractFlushingEventListener.performExecutions( at org.hibernate.event.DefaultFlushEventListener.onFlush( at org.hibernate.impl.SessionImpl.flush( at org.hibernate.transaction.JDBCTransaction.commit( at user.ProductDetails.saveProduct( at user.TempRunner.main( Caused by: java.sql.SQLException: operation not allowed: streams type cannot be used in batching at oracle.jdbc.dbaccess.DBError.throwSqlException( at oracle.jdbc.dbaccess.DBError.throwSqlException( at oracle.jdbc.driver.OraclePreparedStatement.addBatch( at com.mchange.v2.sql.filter.FilterPreparedStatement.addBatch( at org.hibernate.jdbc.BatchingBatcher.addToBatch( at org.hibernate.persister.BasicEntityPersister.insert(