SmartClient Version: v8.3p_2013-02-25/PowerEdition Deployment (built 2013-02-25)
I've got a stored procedure which drops and create a sequence.
I've got an operation binding to call it:
to me, it seems an use case for performCustomOperation, which I'm using like this:
the stored procedure gets executed, but I got an error:
I've got a stored procedure which drops and create a sequence.
I've got an operation binding to call it:
Code:
<operationBinding operationType="custom" operationId="rebuildSequencePRG_ELB_TAXI"> <customSQL> CALL REBUILD_SEQ_PRG_ELB_TAXI() </customSQL> </operationBinding>
Code:
myDS.performCustomOperation("rebuildSequencePRG_ELB_TAXI")
Code:
2013-03-04 12:50:19,444 INFO SQLDriver [builtinApplication.rebuildSequencePRG_ELB_TAXI] Executing SQL query on 'dbJpcEP': CALL REBUILD_SEQ_PRG_ELB_TAXI() 2013-03-04 12:50:19,466 WARN RequestContext dsRequest.execute() failed: java.sql.SQLException: Impossibile eseguire l'operazione di FETCH su un'istruzione PLSQL: next at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:568) at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.next(DelegatingResultSet.java:207) at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.next(DelegatingResultSet.java:207) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java:169) at com.isomorphic.sql.SQLTransform.toListOfMapsOrBeans(SQLTransform.java:598) at com.isomorphic.sql.SQLTransform.toListOfMapsOrBeans(SQLTransform.java:511) at com.isomorphic.sql.SQLTransform.toListOfMapsOrBeans(SQLTransform.java:505) at com.isomorphic.sql.SQLTransform.toListOfMapsOrBeans(SQLTransform.java:480) at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:577) at com.isomorphic.sql.SQLDriver.executeQuery(SQLDriver.java:848) at com.isomorphic.sql.SQLDataSource.executeNativeQuery(SQLDataSource.java:407) at com.isomorphic.sql.SQLDataSource.executeNativeQuery(SQLDataSource.java:401) at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1394) at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:306) at com.isomorphic.sql.SQLDataSource.executeCustom(SQLDataSource.java:266) at com.isomorphic.datasource.DataSource.execute(DataSource.java:1403) at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726) at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658) at com.isomorphic.application.AppBase.execute(AppBase.java:491) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2030) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
Comment