Note that there are some explanatory texts on larger screens.

plurals
  1. POMule stored procedure fails when deployed
    primarykey
    data
    text
    <p>I have an example flow that "Selects" records by calling a stored procedure on an SqlServer 2008R2 express instance.</p> <p>The flow works as expected within Mule Studio but when deployed to Mule standalone 3.4.0 the call fails with the error </p> <blockquote> <p>A result set was generated for update.(SQL Code: 0, SQL State: + null) </p> </blockquote> <p>The driver used is Microsoft's sqljdbc4.0</p> <p>Does anyone know how to resolve this?</p> <p>Thanks</p> <pre><code>&lt;mule xmlns:quartz="http://www.mulesoft.org/schema/mule/quartz" xmlns:jdbc="http://www.mulesoft.org/schema/mule/jdbc" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/quartz http://www.mulesoft.org/schema/mule/quartz/current/mule-quartz.xsd http://www.mulesoft.org/schema/mule/jdbc http://www.mulesoft.org/schema/mule/jdbc/current/mule-jdbc.xsd"&gt; &lt;jdbc:mssql-data-source name="MS_SQL_Data_Source" user="test" password="test" url="jdbc:sqlserver://xxx;databaseName=test" transactionIsolation="UNSPECIFIED" doc:name="MS SQL Data Source"/&gt; &lt;jdbc:connector name="JDBC" validateConnections="true" queryTimeout="-1" pollingFrequency="0" doc:name="JDBC" transactionPerMessage="false" dataSource-ref="MS_SQL_Data_Source"/&gt; &lt;flow name="DBTestFlow1" doc:name="DBTestFlow1"&gt; &lt;quartz:inbound-endpoint jobName="SQL-Purge" repeatInterval="10000" responseTimeout="10000" doc:name="Quartz"&gt; &lt;quartz:event-generator-job/&gt; &lt;/quartz:inbound-endpoint&gt; &lt;logger message="Starting test" level="INFO" doc:name="Logger"/&gt; &lt;jdbc:outbound-endpoint exchange-pattern="request-response" queryKey="IsOOh" queryTimeout="-1" connector-ref="JDBC" doc:name="Database"&gt; &lt;jdbc:query key="IsOOh" value="CALL IsOOH(#[function:now],#[null])"/&gt; &lt;/jdbc:outbound-endpoint&gt; &lt;logger message="Query Result = #[payload]" level="INFO" doc:name="Logger"/&gt; &lt;/flow&gt; &lt;/mule&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload