Return-Path: X-Original-To: apmail-db-jdo-dev-archive@www.apache.org Delivered-To: apmail-db-jdo-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 6C66491A2 for ; Sun, 12 Feb 2012 19:36:04 +0000 (UTC) Received: (qmail 13920 invoked by uid 500); 12 Feb 2012 19:36:03 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 13912 invoked by uid 99); 12 Feb 2012 19:36:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2012 19:36:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.159.14.20] (HELO avasout08.plus.net) (212.159.14.20) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2012 19:35:56 +0000 Received: from rookie.persistability.co.uk ([87.112.157.93]) by avasout08 with smtp id Z7bZ1i00121BHVz017bagu; Sun, 12 Feb 2012 19:35:35 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=b/cwE66x c=1 sm=1 a=kMeXeokP1J9HnzjpL2um9g==:17 a=_MZJ9z86EusA:10 a=A4eMRUDEmDcA:10 a=sdW36C66xFcA:10 a=Q9fys5e9bTEA:10 a=FP58Ms26AAAA:8 a=JqDKcz5xAAAA:8 a=TVpxhCrOKI2A6GvimogA:9 a=ahPctNgfOeEdhVg1l4MA:7 a=PUjeQqilurYA:10 a=kMeXeokP1J9HnzjpL2um9g==:117 From: Andy Jefferson To: jdo-dev@db.apache.org Subject: Re: DN support for derby sequences Date: Sun, 12 Feb 2012 19:35:32 +0000 User-Agent: KMail/1.12.4 (Linux/2.6.31.13-desktop-1mnb; KDE/4.3.5; i686; ; ) References: <4F381180.9040102@akquinet.de> In-Reply-To: <4F381180.9040102@akquinet.de> Organization: DataNucleus MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201202121935.32204.andy@datanucleus.org> X-Virus-Checked: Checked by ClamAV on apache.org > Is it an issue to support sequences in the derby adapter? The derby > database itself supports sequences since version 10.6. Hi Michael, you can easily contribute support. The adapter for Derby at http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.rdbms/trunk/src/java/org/datanucleus/store/rdbms/adapter/DerbyAdapter.java?revision=14093&view=markup needs updating to include support for versions 10.6+ (only). To see an example of an adapter which has support look at http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.rdbms/trunk/src/java/org/datanucleus/store/rdbms/adapter/HSQLAdapter.java?revision=11607&view=markup and search for "sequence" (case-insensitive); ought to give you enough of an idea what is needed. Then raise a DN JIRA and attach a patch. -- Andy DataNucleus (http://www.datanucleus.org)