private boolean isBatchDisabled(RowImpl row) { boolean rtnVal = true; int limit = getBatchLimit(); if ((limit < 0 || limit > 1) && !isBatchDisabled()) { OpenJPAStateManager sm = row.getPrimaryKey(); ClassMapping cmd = null; if (sm != null) cmd = (ClassMapping) sm.getMetaData(); Column[] autoAssign = null; if (row.getAction() == Row.ACTION_INSERT) autoAssign = row.getTable().getAutoAssignedColumns(); // validate batch capability rtnVal = _dict .validateBatchProcess(row, autoAssign, sm, cmd); setBatchDisabled(rtnVal); } return rtnVal; }
private boolean isBatchDisabled(RowImpl row) { boolean rtnVal = true; int limit = getBatchLimit(); if ((limit < 0 || limit > 1) && !isBatchDisabled()) { OpenJPAStateManager sm = row.getPrimaryKey(); ClassMapping cmd = null; if (sm != null) cmd = (ClassMapping) sm.getMetaData(); Column[] autoAssign = null; if (row.getAction() == Row.ACTION_INSERT) autoAssign = row.getTable().getAutoAssignedColumns(); // validate batch capability rtnVal = _dict .validateBatchProcess(row, autoAssign, sm, cmd); setBatchDisabled(rtnVal); } return rtnVal; }
private boolean isBatchDisabled(RowImpl row) { boolean rtnVal = true; int limit = getBatchLimit(); if ((limit < 0 || limit > 1) && !isBatchDisabled()) { OpenJPAStateManager sm = row.getPrimaryKey(); ClassMapping cmd = null; if (sm != null) cmd = (ClassMapping) sm.getMetaData(); Column[] autoAssign = null; if (row.getAction() == Row.ACTION_INSERT) autoAssign = row.getTable().getAutoAssignedColumns(); // validate batch capability rtnVal = _dict .validateBatchProcess(row, autoAssign, sm, cmd); setBatchDisabled(rtnVal); } return rtnVal; }
private boolean isBatchDisabled(RowImpl row) { boolean rtnVal = true; int limit = getBatchLimit(); if ((limit < 0 || limit > 1) && !isBatchDisabled()) { OpenJPAStateManager sm = row.getPrimaryKey(); ClassMapping cmd = null; if (sm != null) cmd = (ClassMapping) sm.getMetaData(); Column[] autoAssign = null; if (row.getAction() == Row.ACTION_INSERT) autoAssign = row.getTable().getAutoAssignedColumns(); // validate batch capability rtnVal = _dict .validateBatchProcess(row, autoAssign, sm, cmd); setBatchDisabled(rtnVal); } return rtnVal; }