[ https://issues.apache.org/jira/browse/IBATIS-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Butler closed IBATIS-601. ------------------------------ Resolution: Fixed Fixed in SVN. Another nice catch. Thanks! > Ibator - generatedKey: attribute "type" is not checked when attribute > "sqlStatement" has a value > ------------------------------------------------------------------------------------------------ > > Key: IBATIS-601 > URL: https://issues.apache.org/jira/browse/IBATIS-601 > Project: iBatis for Java > Issue Type: Bug > Components: Tools > Reporter: Karel Rank > Assignee: Jeff Butler > Attachments: tableconfiguration-fix_type_check.patch > > > With current SVN code, this configuration for table passes validation: > <table schema="adnot" tableName="sites" domainObjectName="Site"> > <property name="useActualColumnNames" value="false"/> > <generatedKey column="site_id" sqlStatement="SELECT > nextval('adnot.sites_site_id_seq')" type="foobar"/> > <columnRenamingRule searchString="site_" replaceString=""/> > </table> > This configuration is not valid. Generated insert statements in SqlMap then > contains in "selectKey" attribute type="foobar". The problem is in > org.apache.ibatis.ibator.config.TableConfiguration, method validate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.