You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kalber <Ka...@swslt.com> on 2013/05/06 11:16:40 UTC

Sql Component insert with batch=true, Camel 2.11

Hi, 
i'm working on an Oracle-DB 10.2.0.1.0 and using ojdbc6.jar.

Using the Sql component it works inserting  record with the this.
configuration :

@Override
public void configure() throws Exception {
		from("direct:infor.insert.ipnl_passages")
				.to("sql:insert into cust_ipnl_passages (ID, ....)
                                  values (sys_guid(),
...))?dataSource=#infor.DataSource&batch=true");
}


Exceeding a certain number of records  no insert is done, the table is
empty.

Is there a way to load a huge amount of records ?

thanks
kh






--
View this message in context: http://camel.465427.n5.nabble.com/Sql-Component-insert-with-batch-true-Camel-2-11-tp5732073.html
Sent from the Camel - Users mailing list archive at Nabble.com.