The meta data processing is based on the DatabaseMetaData provided by the JDBC driver. Since we rely on the JDBC driver this "auto-detection" can only be used for databases that are known to provide accurate meta data. These currently include Derby, MySQL, Microsoft SQL Server, Oracle and DB2. For any other databases you are required to declare all parameters explicitly. You can of course declare all parameters explictly even if the database provides the necessary meta data. In that case your declared parameters will take precedence. You can also turn off any mete data processing if you want to use parameter names that do not match what is declared during the stored procedure compilation.
The actual insert is being handled using Spring's {@link org.springframework.jdbc.core.JdbcTemplate}.
Many of the configuration methods return the current instance of the SimpleJdbcCall to provide the ablity to string multiple ones together in a "fluid" interface style. @author Thomas Risberg @since 2.5 @see java.sql.DatabaseMetaData @see org.springframework.jdbc.core.JdbcTemplate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|