ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Belingueres (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-605) add INFORMIX special predefined value for ibator's <generatedKey> tag
Date Thu, 04 Jun 2009 22:13:07 GMT
add INFORMIX special predefined value for ibator's <generatedKey> tag
---------------------------------------------------------------------

                 Key: IBATIS-605
                 URL: https://issues.apache.org/jira/browse/IBATIS-605
             Project: iBatis for Java
          Issue Type: Improvement
          Components: Tools
         Environment: ibator plugin for eclipse
            Reporter: Gabriel Belingueres
            Priority: Trivial


Hi,

For Informix databases (at least in v9.x and 10.x) the following is tested to work:

    	<generatedKey column="the_serial_id" 
    		sqlStatement="select dbinfo('sqlca.sqlerrd1') from systables where tabid=1"
    		identity="true"/>

(it must be executed AFTER the insert statement.)

May it be added as a predefined constant as other databases? (see http://ibatis.apache.org/docs/tools/ibator/configreference/generatedKey.html)

Regards,
Gabriel

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message