Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 412BD6335 for ; Fri, 24 Jun 2011 23:00:09 +0000 (UTC) Received: (qmail 30522 invoked by uid 500); 24 Jun 2011 23:00:09 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 30423 invoked by uid 500); 24 Jun 2011 23:00:08 -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 30413 invoked by uid 99); 24 Jun 2011 23:00:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 23:00:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 23:00:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B02842E89A for ; Fri, 24 Jun 2011 22:59:47 +0000 (UTC) Date: Fri, 24 Jun 2011 22:59:47 +0000 (UTC) From: "Julian Cable (JIRA)" To: dev@camel.apache.org Message-ID: <919476780.38844.1308956387435.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2085191601.9388.1305274127477.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-3969) documentation for jdbc idempotent repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3969?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1305= 4732#comment-13054732 ]=20 Julian Cable commented on CAMEL-3969: ------------------------------------- Shouldn't the primary key be (processorName,messageId) ? And the back-ticks are MySql specific - the SQL standard is double quotes. Julian > documentation for jdbc idempotent repository > -------------------------------------------- > > Key: CAMEL-3969 > URL: https://issues.apache.org/jira/browse/CAMEL-3969 > Project: Camel > Issue Type: Improvement > Components: camel-sql > Affects Versions: 2.7.1 > Environment: camels on win2k3, mysql(5.5.8) on win2k3 > Reporter: Christoph Burmeister > Assignee: Christian M=C3=BCller > Labels: docuentation, idempotent, jdbc > Fix For: 2.8.0 > > > When running several camels with an idempotent repository (based on > jdbc to mysql) I haven't found any documentation for the table-definition= or for changing parameters (like table-name). > Getting through the sources, I tried out following definition on mysql th= at works for me: > CREATE TABLE IF NOT EXISTS `camel_messageprocessed` ( > `messageId` varchar(255) NOT NULL, > `processorName` varchar(255) NOT NULL, > PRIMARY KEY (`messageId`) > ) > Please check this back. > =20 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira