Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-229

Persistence issue with subscription with CLOB on Derby

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0beta
    • 3.0beta
    • core
    • None

    Description

      UDDI_080_SubscriptionTest, the two chunking tests suffer from this issue.

      Caused by: org.hibernate.exception.DataException: could not insert: [org.apache.juddi.model.Subscription]
      [INFO] [talledLocalContainer] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
      [INFO] [talledLocalContainer] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      [INFO] [talledLocalContainer] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267)
      [INFO] [talledLocalContainer] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)
      [INFO] [talledLocalContainer] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)
      [INFO] [talledLocalContainer] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
      [INFO] [talledLocalContainer] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
      [INFO] [talledLocalContainer] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      [INFO] [talledLocalContainer] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      [INFO] [talledLocalContainer] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      [INFO] [talledLocalContainer] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      [INFO] [talledLocalContainer] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
      [INFO] [talledLocalContainer] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
      [INFO] [talledLocalContainer] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
      [INFO] [talledLocalContainer] ... 35 more
      [INFO] [talledLocalContainer] Caused by: SQL Exception: A truncation error was encountered trying to shrink CLOB '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><subs&' to length 2048.
      [INFO] [talledLocalContainer] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
      [INFO] [talledLocalContainer] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
      [INFO] [talledLocalContainer] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
      [INFO] [talledLocalContainer] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
      [INFO] [talledLocalContainer] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
      [INFO] [talledLocalContainer] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)

      Attachments

        Activity

          People

            kstam Kurt Stam
            kurtstam Kurt T Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: