Announcement Announcement Module
No announcement yet.
spring + hibernate + clob Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring + hibernate + clob

    I am using spring 1.1.2, hibernate2 and oracle 9i.
    I am receiving errors when trying to save my clob to the db.
    My original error was
    operation not allowed: streams type cannot be used in batching

    I have managed to solve that problem by turning off batching by specifying
    <prop key="hibernate.jdbc.batch_size">0</prop>

    Now I receive this error:

    org.springframework.dao.DataAccessResourceFailureE xception: Hibernate operation: could not update: [net.idt.ReportEngine.dao.Query#1]; Io exception: Stream closed; nested exception is java.sql.SQLException: Io exception: Stream closed ceptionTranslator.translate(SQLErrorCodeSQLExcepti
    org.springframework.orm.hibernate.HibernateAccesso r.convertJdbcAccessException(HibernateAccessor.jav a:240)
    org.springframework.orm.hibernate.HibernateAccesso r.convertHibernateAccessException(HibernateAccesso
    org.springframework.orm.hibernate.HibernateTemplat e.execute(
    org.springframework.orm.hibernate.HibernateTemplat e.saveOrUpdate(

    What is the solution to this???