Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 6206 invoked from network); 4 Jan 2011 18:38:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2011 18:38:09 -0000 Received: (qmail 32104 invoked by uid 500); 4 Jan 2011 18:38:09 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 32054 invoked by uid 500); 4 Jan 2011 18:38:09 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 31977 invoked by uid 500); 4 Jan 2011 18:38:08 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 31958 invoked by uid 99); 4 Jan 2011 18:38:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 18:38:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 18:38:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p04Ibm7C008868 for ; Tue, 4 Jan 2011 18:37:48 GMT Message-ID: <12429254.139181294166268361.JavaMail.jira@thor> Date: Tue, 4 Jan 2011 13:37:48 -0500 (EST) From: "Marco Zapletal (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-3488) Some of JpaTraceEventMessage's attributes require @Lob annotation In-Reply-To: <21851772.139121294166266383.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marco Zapletal updated CAMEL-3488: ---------------------------------- Priority: Minor (was: Major) Affects Version/s: 2.5.0 > Some of JpaTraceEventMessage's attributes require @Lob annotation > ----------------------------------------------------------------- > > Key: CAMEL-3488 > URL: https://issues.apache.org/jira/browse/CAMEL-3488 > Project: Camel > Issue Type: Improvement > Components: camel-jpa > Affects Versions: 2.5.0 > Environment: Camel 2.6-SNAPSHOT, JPA 2, Eclipse Link 2.1, MySQL 5.1 > Reporter: Marco Zapletal > Priority: Minor > Attachments: JpaTraceEventMessage-Lob-patch.txt > > > JpaTraceEventMessage has a bunch of String attributes defined. Applying no annotations on String attributes of an @Entity result in generated database columns with a constrained length (e.g., using EclipseLink and MySQL, a String attribute of an @Entity is mapped to a VARCHAR(255) field). > Several values of JpaTraceEventMessage are probably carrying values larger than 255 characters. Using JPAs @Lob annotation tackles this problem by generating (C)LOB fields. > The attached patch defines the @Lob annotation on attributes which are expected to carry such large values. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.