[ 
https://issues.apache.org/jira/browse/CAMEL-4734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288204#comment-13288204
 ] 

Christian Müller commented on CAMEL-4734:
-----------------------------------------

If I switch to derby in camel-example-tracer, I got the following exception 
(this still happens after upgrading to Hibernate 3.6.6-Final).
I think it's related to [HHH-7264|https://hibernate.onjira.com/browse/HHH-7264] 
and block this issue (it's not a show stopper for a new release):

{code}
2012-06-03 18:47:08,819 [read #3 - Split] ERROR JDBCExceptionReporter          
- Java exception: 'A truncation error was encountered trying to shrink CLOB 
'<stream-value>' to length 255.: 
org.apache.derby.iapi.services.io.DerbyIOException'.
2012-06-03 18:47:08,822 [read #3 - Split] ERROR DefaultTraceEventHandler       
- Error processing trace event (original Exchange will continue): 
Exchange[Message: 
TraceEventMessage[ID-christian-muellers-macbook-pro-fritz-box-50339-1338742006733-0-4]
 on node: bean://quoteService?method=quote]
org.springframework.orm.jpa.JpaSystemException: 
org.hibernate.exception.GenericJDBCException: could not insert: 
[org.apache.camel.processor.interceptor.jpa.JpaTraceEventMessage]; nested 
exception is javax.persistence.PersistenceException: 
org.hibernate.exception.GenericJDBCException: could not insert: 
[org.apache.camel.processor.interceptor.jpa.JpaTraceEventMessage]
        at 
org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:321)[spring-orm-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120)[spring-orm-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)[spring-tx-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.springframework.orm.jpa.JpaAccessor.translateIfNecessary(JpaAccessor.java:152)[spring-orm-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:188)[spring-orm-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:146)[spring-orm-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.apache.camel.component.jpa.JpaTemplateTransactionStrategy$1.doInTransaction(JpaTemplateTransactionStrategy.java:80)[camel-jpa-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)[spring-tx-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at 
org.apache.camel.component.jpa.JpaTemplateTransactionStrategy.execute(JpaTemplateTransactionStrategy.java:78)[camel-jpa-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.component.jpa.JpaProducer.process(JpaProducer.java:50)[camel-jpa-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.interceptor.DefaultTraceEventHandler.traceExchange(DefaultTraceEventHandler.java:117)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.interceptor.TraceInterceptor.traceExchange(TraceInterceptor.java:291)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:151)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:333)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:223)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.Pipeline.process(Pipeline.java:117)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:333)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:223)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.MulticastProcessor.doProcessParallel(MulticastProcessor.java:715)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.MulticastProcessor.access$200(MulticastProcessor.java:80)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:297)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:282)[camel-core-2.10-SNAPSHOT.jar:2.10-SNAPSHOT]
        at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_31]
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_31]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_31]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_31]
        at java.lang.Thread.run(Thread.java:680)[:1.6.0_31]
{code}
                
> Consolidate the database vendors in our unit tests
> --------------------------------------------------
>
>                 Key: CAMEL-4734
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4734
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>             Fix For: 2.11
>
>
> At present, we use HSQL, H2 and Derby in our unit tests (for historically 
> reasons).
> We should consolidate this and go ahead with Derby because of the issues we 
> had with CAMEL-3371 and CAMEL-4726.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to