在调用batch 操作中 occ 返回oracle :1843 的
解决方式:
MapSqlParameterSource mapSqlParameterSource = new MapSqlParameterSource();
if (java.sql.Timestamp.class.equals(column.getDataType())) {
mapSqlParameterSource = mapSqlParameterSource.addValue(column.getName(),
convertedValue, java.sql.Types.TIMESTAMP);
}
在
<data-source> </config-properties> 添加 occ.enable.date_null_fix=true
<property name="connectionProperties"
value="occ.client_conn_pooling=true;occ.response.timeout.ms=60000;occ.enable.date_null_fix=true" />