Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 92781 invoked from network); 4 Oct 2006 07:14:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 07:14:01 -0000 Received: (qmail 1638 invoked by uid 500); 4 Oct 2006 07:14:01 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 1394 invoked by uid 500); 4 Oct 2006 07:14:00 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 1385 invoked by uid 99); 4 Oct 2006 07:14:00 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 00:14:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [64.18.15.189] ([64.18.15.189:33394] helo=chip8og58.obsmtp.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 77/10-00170-13F53254 for ; Wed, 04 Oct 2006 00:13:56 -0700 Received: from source ([193.221.170.179]) by chip8ob58.postini.com ([64.18.7.12]) with SMTP; Wed, 04 Oct 2006 00:13:31 PDT Received: from HHBRUE011.hq.corp.eurocontrol.int (hhbrue011.hq.corp.eurocontrol.int [153.98.67.39]) by biscuit.eurocontrol.int (8.12.10/8.12.7) with ESMTP id k947DSc8021545 for ; Wed, 4 Oct 2006 09:13:28 +0200 (MEST) Received: from HHBRUE004.hq.corp.eurocontrol.int ([193.221.160.205]) by HHBRUE011.hq.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.1830); Wed, 4 Oct 2006 09:13:28 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Database Generated Ids Date: Wed, 4 Oct 2006 09:13:27 +0200 Message-ID: <65758C24A8772B49B2DE38D6F8B3D792011DC823@HHBRUE004.hq.corp.eurocontrol.int> In-Reply-To: <8FC8ED99-A6D0-4ED6-9209-0AB4F4C83DAC@objectstyle.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Database Generated Ids Thread-Index: AcbnDhcS2k64EzHzSAe7OgBc6q1NZAAchAkg From: "DOMINGUEZ Felipe" To: X-OriginalArrivalTime: 04 Oct 2006 07:13:28.0052 (UTC) FILETIME=[96EE0B40:01C6E784] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello every body. I am using Cayenne to query hsqldb. On HSQLDB I have a few tables with an auto-increment primary key. When I manually enter data onto those tables the key generation works fine. On the other hand cayenne always uses its own key generation, generating PK with the support of table AUTO_PK_SUPPORT. I did some research last night and I found out that I must set the database custom adapter in the DomainNode adapter panel, so I set it to org.objectstyle.cayenne.dba.hsqldb.HSQLDBAdapter But still, Cayenne uses AUTO_PK_SUPPORT To use AUTO_PK_SUPPORT is not a bad idea, since it will keep it db independent ( I believe) but still, I would really like to know how to do it.=20 Could you please give a hint on what is going on?=20 Cheers Felipe ____ This message and any files transmitted with it are legally privileged and= intended for the sole use of the individual(s) or entity to whom they ar= e addressed. If you are not the intended recipient, please notify the sen= der by reply and delete the message and any attachments from your system.= Any unauthorised use or disclosure of the content of this message is str= ictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitme= nt on the part of EUROCONTROL, unless it is confirmed by appropriately si= gned hard copy. Any views expressed in this message are those of the sender. =0D