On Friday 30 Sep 2005 19:57, Larry Meadors wrote: > You would do this (or close): > > <insert id="insert"> > INSERT INTO person (lastname, firstname) values (#lastname#, #firstname#) > <selectKey property="personId">SELECT curval('persons_id_seq')</selectKey> > </insert>
the property attribute of <selectKey> is wrong - Eclipse is throwing it out as an error -- Alan Chandler http://www.chandlerfamily.org.uk