protected ForeignReferenceMapping() { this.isPrivateOwned = false; this.hasCustomSelectionQuery = false; this.useBasicIndirection(); this.cascadePersist = false; this.cascadeMerge = false; this.cascadeRefresh = false; this.cascadeRemove = false; this.requiresTransientWeavedFields = true; this.forceInitializationOfSelectionCriteria = false; this.extendPessimisticLockScope = ExtendPessimisticLockScope.NONE; }
protected ForeignReferenceMapping() { this.isPrivateOwned = false; this.hasCustomSelectionQuery = false; this.usesBatchReading = false; this.useBasicIndirection(); this.cascadePersist = false; this.cascadeMerge = false; this.cascadeRefresh = false; this.cascadeRemove = false; this.requiresTransientWeavedFields = true; this.forceInitializationOfSelectionCriteria = false; this.extendPessimisticLockScope = ExtendPessimisticLockScope.NONE; }
protected ForeignReferenceMapping() { this.isPrivateOwned = false; this.hasCustomSelectionQuery = false; this.useBasicIndirection(); this.cascadePersist = false; this.cascadeMerge = false; this.cascadeRefresh = false; this.cascadeRemove = false; this.requiresTransientWeavedFields = true; this.forceInitializationOfSelectionCriteria = false; this.extendPessimisticLockScope = ExtendPessimisticLockScope.NONE; }
/** * PUBLIC: * Indirection means that a ValueHolder will be put in-between the attribute and the real object. * This allows for the reading of the target from the database to be delayed until accessed. * This defaults to true and is strongly suggested as it give a huge performance gain. * @see #useBasicIndirection() * @see #dontUseIndirection() */ public void setUsesIndirection(boolean usesIndirection) { if (usesIndirection) { useBasicIndirection(); } else { dontUseIndirection(); } }
/** * PUBLIC: * Indirection means that a ValueHolder will be put in-between the attribute and the real object. * This allows for the reading of the target from the database to be delayed until accessed. * This defaults to true and is strongly suggested as it give a huge performance gain. * @see #useBasicIndirection() * @see #dontUseIndirection() */ public void setUsesIndirection(boolean usesIndirection) { if (usesIndirection) { useBasicIndirection(); } else { dontUseIndirection(); } }
/** * PUBLIC: * Indirection means that a ValueHolder will be put in-between the attribute and the real object. * This allows for the reading of the target from the database to be delayed until accessed. * This defaults to true and is strongly suggested as it give a huge performance gain. * @see #useBasicIndirection() * @see #dontUseIndirection() */ public void setUsesIndirection(boolean usesIndirection) { if (usesIndirection) { useBasicIndirection(); } else { dontUseIndirection(); } }