ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ing. Jan Novotný <novotn...@gmail.com>
Subject @SelectKey annotation missing
Date Thu, 18 Feb 2010 12:05:47 GMT
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