Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 89827 invoked from network); 18 Feb 2010 19:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 19:57:48 -0000 Received: (qmail 29193 invoked by uid 500); 18 Feb 2010 19:57:48 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 29163 invoked by uid 500); 18 Feb 2010 19:57:48 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 29155 invoked by uid 99); 18 Feb 2010 19:57:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 19:57:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of novotnaci@gmail.com designates 216.239.58.184 as permitted sender) Received: from [216.239.58.184] (HELO gv-out-0910.google.com) (216.239.58.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 19:57:39 +0000 Received: by gv-out-0910.google.com with SMTP id p33so301469gvf.1 for ; Thu, 18 Feb 2010 11:57:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=bRZaX3bCybmMkXI4ElG1frwkR6B4vd3gqMAVAc8w0do=; b=ofNu+WaNkaHSvv1KiiZfZE3j82EOjTbNk0I3s8NjW54Qo1fFzi3C0gj58kUZFL9ica jpROdf76KiCbug6RGnsKvOBd/27uMz5oJs8ev6+kdFcNk3gLMsyuJL+wSX+3WaOiElSt Avx6Zj8KoefGOG1HjcmHBVq09b7La78dmCsGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UeDCjSDDATDaFI1tl7smysWRYagK5tVGHJc+Qj+NAquHW6hUNKlilneGs5P7IBEqNo WtRpzHH1NtE+FyKLlfPrFbtgDxso5CDJGk5SCrW3Quj1GkMLozXINfjwG6HFPbk838RI UQfP0s7KaHXwcjBpdhLdZM2lk+Nf04H9Mar94= MIME-Version: 1.0 Received: by 10.87.21.22 with SMTP id y22mr15600413fgi.52.1266523036912; Thu, 18 Feb 2010 11:57:16 -0800 (PST) In-Reply-To: <16178eb11002180800q1ffd538fl36be31eea8a735fa@mail.gmail.com> References: <8017c6041002180405p1023d0ai94434ec054a8ad9@mail.gmail.com> <16178eb11002180800q1ffd538fl36be31eea8a735fa@mail.gmail.com> Date: Thu, 18 Feb 2010 20:57:16 +0100 Message-ID: <8017c6041002181157g7d01732dn2712a944fb78d725@mail.gmail.com> Subject: Re: @SelectKey annotation missing From: =?UTF-8?Q?Ing=2E_Jan_Novotn=C3=BD?= To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=0016364593d6b70e99047fe55f98 --0016364593d6b70e99047fe55f98 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Created https://issues.apache.org/jira/browse/IBATIS-751. Thanks. 2010/2/18 Clinton Begin > I recommend entering a Jira feature request for this one. I can't recall > if it was left out for a reason, or if we just didn't get to it yet. > > Clinton > > 2010/2/18 Ing. Jan Novotn=C3=BD > >> Hello again :), >> >> >> when trying @Insert annotation I found out, that there is no mean how >> to specify primary key conciliation. Something like @SelectKey would be >> necessary but such annotation doesn't exist. Does that mean, that for >> annotation based approach the only way are autogenerated keys (usable on= ly >> in case of few database engines) and @Option annotation with keyProperty >> attribute set? >> >> Jan >> >> -- >> -------------------------------------------------------------- >> Ing. Jan Novotn=C3=BD >> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ >> http://blog.novoj.net >> My=C5=A1lenky dne otce Fura >> -------------------------------------------------------------- >> > > --=20 -------------------------------------------------------------- Ing. Jan Novotn=C3=BD @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ http://blog.novoj.net My=C5=A1lenky dne otce Fura -------------------------------------------------------------- --0016364593d6b70e99047fe55f98 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Created https:= //issues.apache.org/jira/browse/IBATIS-751. Thanks.

2010/2/18 Clinton Begin <clinton.begin@gmail.com>
I recommend enter= ing a Jira feature request for this one.=C2=A0 I can't recall if it was= left out for a reason, or if we just didn't get to it yet.=C2=A0

Clinton

2010/2/18 I= ng. Jan Novotn=C3=BD <novotnaci@gmail.com>
Hello again= :),


=C2=A0=C2=A0 when trying @Ins= ert annotation I found out, that there is no mean how to specify primary ke= y conciliation. Something like @SelectKey would be necessary but such annot= ation doesn't exist. Does that mean, that for annotation based approach= the only way are autogenerated keys (usable only in case of few database e= ngines) and @Option annotation with keyProperty attribute set?

Jan

--
---------------= -----------------------------------------------
Ing. Jan Novotn=C3=BD@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
http://blog.novoj.net
My=C5=A1lenky dne otce Fura
--------------------------------------------= ------------------




--
-----------------------= ---------------------------------------
Ing. Jan Novotn=C3=BD
@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
http://blog.novoj.net
My=C5=A1lenky dne otce Fura
--------------------------------------------= ------------------
--0016364593d6b70e99047fe55f98--