Missing selectKey DTD parameter ------------------------------- Key: IBATIS-207 URL: http://issues.apache.org/jira/browse/IBATIS-207 Project: iBatis for Java Type: Bug Versions: 2.1.5 Environment: Windows XP, MySQL Reporter: Paul Benedict Priority: Critical
According to this URL, the selectKey parameter is supposed to contain a type attribute so that users can run the statement post insert: http://opensource2.atlassian.com/confluence/oss/display/IBATIS/How+do+I+use+an+insert+statement%3F+cs However, no such attribute exists and the following error occurs: Caused by: org.xml.sax.SAXParseException: Attribute "type" must be declared for element type "selectKey". Recommended solution: Correct DTD to contain attribute. The SelectKeyStatement class contains an "after" property, but there is no way to set this through the current DTD. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira