jdbc endpoint

jdbc endpoint

Name Kind Type Required Deprecated Default Value Enum Values Description
dataSource path javax.sql.DataSource true false The data source to use
readSize parameter int false
transacted parameter boolean false false
resetAutoCommit parameter boolean false true
useJDBC4ColumnNameAndLabelSemantics parameter boolean false true Sets whether to use JDBC 4 or JDBC 3.0 or older semantic when retrieving column name.

JDBC 4.0 uses columnLabel to get the column name where as JDBC 3.0 uses both columnName or columnLabel. Unfortunately JDBC drivers behave differently so you can use this option to work out issues around your JDBC driver if you get problem using this component

This option is default true. @param useJDBC4ColumnNameAndLabelSemantics true to use JDBC 4.0 semantics, false to use JDBC 3.0.

prepareStatementStrategy parameter org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy false
allowNamedParameters parameter boolean false true
useHeadersAsParameters parameter boolean false false
outputType parameter org.apache.camel.component.jdbc.JdbcOutputType false SelectList SelectOne
SelectList
StreamList
outputClass parameter java.lang.String false
beanRowMapper parameter org.apache.camel.component.jdbc.BeanRowMapper false
exchangePattern parameter org.apache.camel.ExchangePattern false InOnly InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).