camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fabrizio.spataro" <fabrizio.spat...@bizmate.it>
Subject Re: [Camel SQL] CamelSqlRetrieveGeneratedKeys attribute delete all headers
Date Tue, 10 Feb 2015 08:45:04 GMT
Hello, i am using batch value. This seems to work but i lost transactional
functionality.

So.. i am creating the issue into JIRA

My settings are:

 <bean id="mysql"
        class="org.springframework.jdbc.datasource.DriverManagerDataSource">
        <property name="driverClassName" value="${mysql.driver}" />
        <property name="url" value="${mysql.url}" />
        <property name="username" value="${mysql.user}" />
        <property name="password" value="${mysql.password}" />
        <property name="connectionProperties">
	        <props>
	        	
	            <prop key="defaultAutocommit">false</prop>
	            <prop key="autocommit">false</prop>
	            <prop key="autoCommit">false</prop>
	        </props>
	    </property>
    </bean>
    <bean id="transactionManager"
	  class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
	  <property name="dataSource" ref="mysql"></property>
    </bean>



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-SQL-CamelSqlRetrieveGeneratedKeys-attribute-delete-all-headers-tp5762512p5762532.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message