/** * Return the recorded value for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public OpenJPAStateManager getRelationIdSet(Column col) { return (_relSet == null) ? null : _relSet[getRelationIdIndex(col)]; }
/** * Return the recorded value for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public OpenJPAStateManager getRelationIdSet(Column col) { return (_relSet == null) ? null : _relSet[getRelationIdIndex(col)]; }
/** * Return the recorded value for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public OpenJPAStateManager getRelationIdSet(Column col) { return (_relSet == null) ? null : _relSet[getRelationIdIndex(col)]; }
/** * Return the recorded callbacks for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public RelationId getRelationIdCallback(Column col) { return (_callbacks == null) ? null : _callbacks[getRelationIdIndex(col)]; }
/** * Return the recorded value for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public OpenJPAStateManager getRelationIdSet(Column col) { return (_relSet == null) ? null : _relSet[getRelationIdIndex(col)]; }
/** * Return the recorded callbacks for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public RelationId getRelationIdCallback(Column col) { return (_callbacks == null) ? null : _callbacks[getRelationIdIndex(col)]; }
/** * Return the recorded callbacks for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public RelationId getRelationIdCallback(Column col) { return (_callbacks == null) ? null : _callbacks[getRelationIdIndex(col)]; }
/** * Return the recorded callbacks for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public RelationId getRelationIdCallback(Column col) { return (_callbacks == null) ? null : _callbacks[getRelationIdIndex(col)]; }
/** * Return the recorded value for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public OpenJPAStateManager getRelationIdSet(Column col) { return (_relSet == null) ? null : _relSet[getRelationIdIndex(col)]; }
/** * Return the recorded callbacks for the given relation id column. Only * values that are dependent on a new, unflushed auto-assigned instance * are recorded. */ public RelationId getRelationIdCallback(Column col) { return (_callbacks == null) ? null : _callbacks[getRelationIdIndex(col)]; }
public void clearRelationId(Column col) throws SQLException { super.clearRelationId(col); if (_relSet != null) { int idx = getRelationIdIndex(col); _relSet[idx] = null; _callbacks[idx] = null; } }
public void clearRelationId(Column col) throws SQLException { super.clearRelationId(col); if (_relSet != null) { int idx = getRelationIdIndex(col); _relSet[idx] = null; _callbacks[idx] = null; } }
public void clearRelationId(Column col) throws SQLException { super.clearRelationId(col); if (_relSet != null) { int idx = getRelationIdIndex(col); _relSet[idx] = null; _callbacks[idx] = null; } }
public void clearRelationId(Column col) throws SQLException { super.clearRelationId(col); if (_relSet != null) { int idx = getRelationIdIndex(col); _relSet[idx] = null; _callbacks[idx] = null; } }
public void clearRelationId(Column col) throws SQLException { super.clearRelationId(col); if (_relSet != null) { int idx = getRelationIdIndex(col); _relSet[idx] = null; _callbacks[idx] = null; } }
public void setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) throws SQLException { if (sm == null || sm.getObjectId() != null || !sm.isNew() || sm.isFlushed() || !isPrimaryKeyAutoAssigned(sm)) super.setRelationId(col, sm, rel); else { if (_relSet == null) { Column[] cols = getTable().getRelationIdColumns(); _relSet = new OpenJPAStateManager[cols.length]; _callbacks = new RelationId[cols.length]; } int idx = getRelationIdIndex(col); _relSet[idx] = sm; _callbacks[idx] = rel; } }
public void setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) throws SQLException { if (sm == null || sm.getObjectId() != null || !sm.isNew() || sm.isFlushed() || !isPrimaryKeyAutoAssigned(sm)) super.setRelationId(col, sm, rel); else { if (_relSet == null) { Column[] cols = getTable().getRelationIdColumns(); _relSet = new OpenJPAStateManager[cols.length]; _callbacks = new RelationId[cols.length]; } int idx = getRelationIdIndex(col); _relSet[idx] = sm; _callbacks[idx] = rel; } }
public void setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) throws SQLException { if (sm == null || sm.getObjectId() != null || !sm.isNew() || sm.isFlushed() || !isPrimaryKeyAutoAssigned(sm)) super.setRelationId(col, sm, rel); else { if (_relSet == null) { Column[] cols = getTable().getRelationIdColumns(); _relSet = new OpenJPAStateManager[cols.length]; _callbacks = new RelationId[cols.length]; } int idx = getRelationIdIndex(col); _relSet[idx] = sm; _callbacks[idx] = rel; } }
public void setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) throws SQLException { if (sm == null || sm.getObjectId() != null || !sm.isNew() || sm.isFlushed() || !isPrimaryKeyAutoAssigned(sm)) super.setRelationId(col, sm, rel); else { if (_relSet == null) { Column[] cols = getTable().getRelationIdColumns(); _relSet = new OpenJPAStateManager[cols.length]; _callbacks = new RelationId[cols.length]; } int idx = getRelationIdIndex(col); _relSet[idx] = sm; _callbacks[idx] = rel; } }
public void setRelationId(Column col, OpenJPAStateManager sm, RelationId rel) throws SQLException { if (sm == null || sm.getObjectId() != null || !sm.isNew() || sm.isFlushed() || !isPrimaryKeyAutoAssigned(sm)) super.setRelationId(col, sm, rel); else { if (_relSet == null) { Column[] cols = getTable().getRelationIdColumns(); _relSet = new OpenJPAStateManager[cols.length]; _callbacks = new RelationId[cols.length]; } int idx = getRelationIdIndex(col); _relSet[idx] = sm; _callbacks[idx] = rel; } }