ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: @SelectKey annotation missing
Date Thu, 18 Feb 2010 16:00:40 GMT
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ý <novotnaci@gmail.com>

> 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 only
> in case of few database engines) and @Option annotation with keyProperty
> attribute set?
>
> Jan
>
> --
> --------------------------------------------------------------
> Ing. Jan Novotný
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> http://blog.novoj.net
> Myšlenky dne otce Fura
> --------------------------------------------------------------
>

Mime
View raw message