!跪求高手解决 :org.springframework.jdbc.BadSqlGrammarException : SqlMapClient...
困扰小弟一天了就是没有得到解决的问题:用flex+Spring+blazds+ibatis做的oracle数据库的东西,就出现这个东西
[RPC Fault faultString="org.springframework.jdbc.BadSqlGrammarException : SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com.cons.taxi.gis.xml.
--- The error occurred while applying a parameter map.
--- Check the MapOp.getCompanyDetail-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: java.sql.SQLException: ORA-00911: 无效字符
" faultCode="Server.Processing" faultDetail="null"]
test.mxml代码是:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:flexlib="http://code.google.com/p/flexlib/"
creationComplete="init();"
minWidth="955" minHeight="600">
<fx:Declarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
<s:RemoteObject id="mapOpAction" destination="mapOpAction">
<s:method name="getCompanyDetail"
result="result_handler(event)"
fault="fault_handler(event)"/>
</s:RemoteObject>
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
[Bindable]
private var companys:Object;
private function result_handler(event:ResultEvent):void{
companys = event.result as ArrayCollection;
}
private function fault_handler(event:FaultEvent):void{
Alert.show(event.fault.toString(),"fault");
}
private function init():void{
mapOpAction.getCompanyDetail();
}
//向windowshade中添加公司信息
]]>
</fx:Script>
<s:Panel width="100%" height="100%" title="企业介绍">
<s:VGroup width="100%" height="100%" id="company_vgroup">
</s:VGroup>
</s:Panel>
</s:Application>