java.sql.SQLException: ORA-00911: 无效字符 解决方案

时间:2022-11-22 22:53:30

运行java项目时,报出一下错误:

--- The error occurred in punish.xml.  
--- The error occurred while applying a parameter map.  
--- Check the getbinding-InlineParameterMap.  
--- Check the statement (query failed).  
--- Cause: java.sql.SQLException: ORA-00911: 无效字符


检查punish.xml 文件中<statement    id='getbinding'>的sql末尾有一分号;

解决方案:分号删除