Archive for the ‘iBatis’ Category

Simple WebApp to create mock data

Wednesday, August 25th, 2010

http://www.generatedata.com/#generator

iBatis: Return id on Insert

Saturday, October 11th, 2008
<insert id=”addProduct” parameterClass=”sample.Product”>
insert into PRODUCT (name,desc) values (#name#, #description#)
<selectKey resultClass=”Long”>
select LAST_INSERT_ID() as id
</selectKey>
</insert>