org.apache.openjpa.persistence.PersistenceException: oracle.sql.CLOB in classloader org.apache.geronimo.configs/openjpa/2.1.1/car

geronimo-user | fishchips | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JPA: Exception saving CLOB

    geronimo-user | 8 years ago | fishchips
    org.apache.openjpa.persistence.PersistenceException: oracle.sql.CLOB in classloader org.apache.geronimo.configs/openjpa/2.1.1/car

    Root Cause Analysis

    1. java.sql.SQLException

      oracle.sql.CLOB in classloader org.apache.geronimo.configs/openjpa/2.1.1/car

      at org.apache.openjpa.jdbc.sql.OracleDictionary.getEmptyClob()
    2. OpenJPA Aggregate Jar
      PreparedStatementManagerImpl.flush
      1. org.apache.openjpa.jdbc.sql.OracleDictionary.getEmptyClob(OracleDictionary.java:1016)
      2. org.apache.openjpa.jdbc.sql.OracleDictionary.setNull(OracleDictionary.java:514)
      3. org.apache.openjpa.jdbc.sql.DBDictionary.setTyped(DBDictionary.java:1090)
      4. org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:888)
      5. org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:848)
      6. org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:95)
      7. org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:73)
      7 frames