You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Paul Wallace <pa...@isell.com.au> on 2004/11/15 04:28:39 UTC

Sql:update returning key

Hi, 
    I am doing an update thus: 
 
<sql:update var="count">
        INSERT INTO tab1(link) VALUES (?);
       <sql:param value="${param.link}"/>    
</sql:update>
 
where the link field is auto increment. How may I retrieve the generated
key? From the update tag? 
 
thanks
 
Paul.