NoSuchElementException in
com.ibatis.sqlmap.engine.mapping.parameter.InlineParameterMapParser line 55
-----------------------------------------------------------------------------------------------------
Key: IBATIS-465
URL: https://issues.apache.org/jira/browse/IBATIS-465
Project: iBatis for Java
Issue Type: Bug
Components: SQL Maps
Affects Versions: 2.3.0
Environment: Independent
Reporter: Philip Helger
I accidentally made an invalid SQL INSERT statement with an inline parameter
map:
INSERT INTO table (memberid,id) VALUES (#memberid,#id#)
Note the missing # after memberid.
When parsing this statement, the NoSuchElementException from the line
token = parser.nextToken();
is not handled! An error message is welcomed :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.