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 --------------------------------------------------------------