Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Graeme J Sweeney <ibatis.u...@gjsweeney.com> |
Subject | Re: Postgres and generated keys |
Date | Tue, 20 Mar 2007 16:47:47 GMT |
On Tue, 20 Mar 2007, Mark Volkmann wrote: > Perhaps I'm doing something wrong in my AbatorConfig.xml. Here's the part > that pertains to the address table. > > <table schema="sal" > tableName="address" domainObjectName="Address"> > <generatedKey column="id" sqlStatement="Postgres" identity="true"/> > </table> > > Is the value for the sqlStatement attribute wrong? Something like ..... <generatedKey column="id" sqlStatement="SELECT nextVal('address_id_seq ')" identity="false" /> -- Graeme - | |
Mime |
|
View raw message |