http://jira.mfd.msk:8088/browse/CLS-754 ArrayIndexOutOfBoundsException fixed
This commit is contained in:
parent
992bbacce6
commit
cda217e276
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ public abstract class SimpleObjectMapStore<T extends SpcexObjectBase> implements
|
|||
|
||||
Object normalizeValue(Object value, ParameterMetaData metaData, Map<String, ColumnMetaData> columnMetaDataMap, int i,
|
||||
String insertStatement, Object[] params) throws SQLException {
|
||||
if (value == null)
|
||||
if (getFields().length <= i || value == null)
|
||||
return null;
|
||||
i++; // нумерация в ParameterMetaData начинается с 1
|
||||
final int type = metaData.getParameterType(i);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue