You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2009/05/12 01:28:45 UTC

[jira] Closed: (JUDDI-229) Persistence issue with subscription with CLOB on Derby

     [ https://issues.apache.org/jira/browse/JUDDI-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt T Stam closed JUDDI-229.
-----------------------------

    Resolution: Fixed

Increading the CLOB size to 64kB and adding the SubscriptionChunkToken to the persistence.xmls.

> Persistence issue with subscription with CLOB on Derby
> ------------------------------------------------------
>
>                 Key: JUDDI-229
>                 URL: https://issues.apache.org/jira/browse/JUDDI-229
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0beta
>            Reporter: Kurt T Stam
>            Assignee: Kurt T Stam
>             Fix For: 3.0beta
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.