Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 00BB5200CD7 for ; Tue, 1 Aug 2017 19:22:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F37491660C2; Tue, 1 Aug 2017 17:22:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 455511660B9 for ; Tue, 1 Aug 2017 19:22:16 +0200 (CEST) Received: (qmail 56545 invoked by uid 500); 1 Aug 2017 17:22:15 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 56532 invoked by uid 99); 1 Aug 2017 17:22:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2017 17:22:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9228318041D for ; Tue, 1 Aug 2017 17:22:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YT4yFFpWoRjU for ; Tue, 1 Aug 2017 17:22:13 +0000 (UTC) Received: from mail-ua0-f181.google.com (mail-ua0-f181.google.com [209.85.217.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A60725F3CC for ; Tue, 1 Aug 2017 17:22:12 +0000 (UTC) Received: by mail-ua0-f181.google.com with SMTP id f9so10018021uaf.4 for ; Tue, 01 Aug 2017 10:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ybNCOByvDEbJAfAu09FWimiDKmxE+MLSClJIQYLJybU=; b=eZMkEpbGGYSKbx5W14eMXGXwvty+TGGb1nYCp+XcIAIyBmS6P9OLuNClQVVmizphBr yJkUmH/LlKDbw+FX2HyuQ4EEr8sNBDBMtgYW1yg7y5if+ZTe4rAp3Vb8gAanwL2DfSBt hmTcIkah2QQD0OPV9ZHR39UYTcrlJQ9l34egs5XZ7xj5pBNA2fm0rA+McmR97KuDjSeS kB1jlFVJsBs9V8i9Mwp2AWANhGJ+A3w4uMDt6Nne7yHvBKyaAGg1QjkZJQBbwm6zOqLp UOn5Ayilk+Kk5xNACNiu1qKgGrKZZsQaQCkSGuL3YDXiykgMfB/xej9lrNYifEvGWQso he3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ybNCOByvDEbJAfAu09FWimiDKmxE+MLSClJIQYLJybU=; b=SJqcqEcm/uf8eqIMTJeQC0o8OyogVPM6VwVAYwE2VvIrkHihylqnppOH3GKhkvnjfe 8SORSgbI1LBM92mer4mES2JWguaG+in9cuFX19urolGSbtBdMthHnQlZ5yNknxwDa/Ux gCd3bMUmVrtgTZQD2SbVcVicaD3IpInhllwDoLMN+bh/ZosWVzoOM+ojCRlboWjQMFmT FWkOJ5GPDZlBURhwrlDlxNFWSqlShTWwt09Ep+nrF9pkY5WIr64Lmy0+PICiepzmyfcc O/aontv4/YxJ7R7kRs2vR+OgMPaSsm/Ix825ar8Tr3qsJIHVrZlxhBNp8IriElb5t1jv i2vg== X-Gm-Message-State: AIVw1107O2JOV4LqqJccsHp082l0uzvnRfI/+2pDgQXt3v2cc1g2xc6d ItEGee17aLjxoJf9li1PhVWQlhujQHFK X-Received: by 10.159.40.135 with SMTP id d7mr14633131uad.154.1501608131357; Tue, 01 Aug 2017 10:22:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.141.68 with HTTP; Tue, 1 Aug 2017 10:22:10 -0700 (PDT) In-Reply-To: References: From: Lon Varscsak Date: Tue, 1 Aug 2017 10:22:10 -0700 Message-ID: Subject: Re: Identity column To: Apache Cayenne Content-Type: multipart/alternative; boundary="94eb2c12305842f21c0555b46385" archived-at: Tue, 01 Aug 2017 17:22:17 -0000 --94eb2c12305842f21c0555b46385 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah, sweet. It works perfectly for Sybase, I=E2=80=99ll submit a pull reque= st. -Lon On Tue, Aug 1, 2017 at 1:06 AM, Nikita Timofeev wrote: > Hi Lon, > > Here is support for identity columns in SQLServerAdapter: [1] and [2]. > And yes SybaseAdapter doesn't support this. > > [1] https://github.com/apache/cayenne/blob/master/cayenne- > server/src/main/java/org/apache/cayenne/dba/sqlserver/ > SQLServerAdapter.java#L93 > [2] https://github.com/apache/cayenne/blob/master/cayenne- > server/src/main/java/org/apache/cayenne/dba/sqlserver/ > SQLServerAdapter.java#L138 > > On Tue, Aug 1, 2017 at 3:47 AM, Lon Varscsak > wrote: > > Hey guys, I have a table (or three) that uses identity columns (Sybase > > generated values=E2=80=A6not like a sequence). Looking at the 3.0 docs= it > suggests > > that it supports this for SQLServer (which was originally based on > > Sybase)=E2=80=A6but I can=E2=80=99t seem to find it in the code. Any i= dea where this is? > > Does it still exist? > > > > Thanks, > > > > Lon > > > > -- > Best regards, > Nikita Timofeev > --94eb2c12305842f21c0555b46385--