public boolean assignObjectId(boolean flush) { lock(); try { return assignObjectId(flush, false); } finally { unlock(); } }
public boolean assignObjectId(boolean flush) { lock(); try { return assignObjectId(flush, false); } finally { unlock(); } }
public boolean assignObjectId(boolean flush) { lock(); try { return assignObjectId(flush, false); } finally { unlock(); } }
public boolean assignObjectId(boolean flush) { lock(); try { return assignObjectId(flush, false); } finally { unlock(); } }
public boolean assignObjectId(boolean flush) { lock(); try { return assignObjectId(flush, false); } finally { unlock(); } }
public Object fetchObjectId() { try { assignObjectId(true); if (_oid == null || !_broker.getConfiguration(). getCompatibilityInstance().getCopyObjectIds()) return _oid; if (_meta.getIdentityType() == ClassMetaData.ID_DATASTORE) return _broker.getStoreManager().copyDataStoreId(_oid, _meta); return ApplicationIds.copy(_oid, _meta); } catch (RuntimeException re) { throw translate(re); } }
public Object fetchObjectId() { try { if (hasGeneratedKey() && _state instanceof PNewState && _oid == null) return _oid; assignObjectId(true); if (_oid == null || !_broker.getConfiguration(). getCompatibilityInstance().getCopyObjectIds()) return _oid; if (_meta.getIdentityType() == ClassMetaData.ID_DATASTORE) return _broker.getStoreManager().copyDataStoreId(_oid, _meta); return ApplicationIds.copy(_oid, _meta); } catch (RuntimeException re) { throw translate(re); } }
public Object fetchObjectId() { try { if (hasGeneratedKey() && _state instanceof PNewState && _oid == null) return _oid; assignObjectId(true); if (_oid == null || !_broker.getConfiguration(). getCompatibilityInstance().getCopyObjectIds()) return _oid; if (_meta.getIdentityType() == ClassMetaData.ID_DATASTORE) return _broker.getStoreManager().copyDataStoreId(_oid, _meta); return ApplicationIds.copy(_oid, _meta); } catch (RuntimeException re) { throw translate(re); } }
public Object fetchObjectId() { try { if (hasGeneratedKey() && _state instanceof PNewState && _oid == null) return _oid; assignObjectId(true); if (_oid == null || !_broker.getConfiguration(). getCompatibilityInstance().getCopyObjectIds()) return _oid; if (_meta.getIdentityType() == ClassMetaData.ID_DATASTORE) return _broker.getStoreManager().copyDataStoreId(_oid, _meta); return ApplicationIds.copy(_oid, _meta); } catch (RuntimeException re) { throw translate(re); } }
public Object fetchObjectId() { try { if (hasGeneratedKey() && _state instanceof PNewState && _oid == null) return _oid; assignObjectId(true); if (_oid == null || !_broker.getConfiguration(). getCompatibilityInstance().getCopyObjectIds()) return _oid; if (_meta.getIdentityType() == ClassMetaData.ID_DATASTORE) return _broker.getStoreManager().copyDataStoreId(_oid, _meta); return ApplicationIds.copy(_oid, _meta); } catch (RuntimeException re) { throw translate(re); } }
try { if (!logical) assignObjectId(false, true); for (int i = 0, len = _meta.getFields().length; i < len; i++) { if ((logical || !assignField(i, true)) && !_flush.get(i)
assign = oidsm.isDefaultValue(i); return assign && assignObjectId(!preFlushing, preFlushing); return assignObjectId(!preFlushing, preFlushing);
assign = oidsm.isDefaultValue(i); return assign && assignObjectId(!preFlushing, preFlushing); return assignObjectId(!preFlushing, preFlushing);
assign = oidsm.isDefaultValue(i); return assign && assignObjectId(!preFlushing, preFlushing); return assignObjectId(!preFlushing, preFlushing);
((StateManagerImpl)sm).assignObjectId(false, true);
((StateManagerImpl)sm).assignObjectId(false, true);
try { if (!logical) assignObjectId(false, true); for (int i = 0, len = _meta.getFields().length; i < len; i++) { if ((logical || !assignField(i, true)) && !isFieldFlushed(i) && isFieldDirty(i)) {
try { if (!logical) assignObjectId(false, true); for (int i = 0, len = _meta.getFields().length; i < len; i++) { if ((logical || !assignField(i, true)) && !isFieldFlushed(i) && isFieldDirty(i)) {
try { if (!logical) assignObjectId(false, true); for (int i = 0, len = _meta.getFields().length; i < len; i++) { if ((logical || !assignField(i, true)) && !isFieldFlushed(i) && isFieldDirty(i)) {
try { if (!logical) assignObjectId(false, true); for (int i = 0, len = _meta.getFields().length; i < len; i++) { if ((logical || !assignField(i, true)) && !isFieldFlushed(i) && isFieldDirty(i)) {