/** * Pre-build configure the call. */ public void prepareInsertObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } } } else { if (!this.call.isReturnSet()) { this.call.returnNothing(); } } prepareCall(); }
/** * Pre-build configure the call. */ public void prepareInsertObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } } } else { if (!this.call.isReturnSet()) { this.call.returnNothing(); } } prepareCall(); }
/** * Pre-build configure the call. */ public void prepareInsertObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } } } else { if (!this.call.isReturnSet()) { this.call.returnNothing(); } } prepareCall(); }
/** * Pre-build configure the call. */ public void prepareUpdateObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } } } else if (getCall() != null) { if (!call.isReturnSet()) { this.call.returnNothing(); } } prepareCall(); }
/** * Pre-build configure the call. */ public void prepareUpdateObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } } } else if (getCall() != null) { if (!call.isReturnSet()) { this.call.returnNothing(); } } prepareCall(); }
/** * Pre-build configure the call. */ public void prepareUpdateObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } } } else if (getCall() != null) { if (!call.isReturnSet()) { this.call.returnNothing(); } } prepareCall(); }
/** * Pre-build configure the SQL call. */ public void prepareUpdateObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } if (this.query.getDescriptor().usesOptimisticLocking()) { call.setHasOptimisticLock(true); } } } else if (this.call != null) { if (!call.isReturnSet()) { this.call.returnNothing(); } if (this.query.getDescriptor().usesOptimisticLocking()) { ((DatabaseCall)this.call).setHasOptimisticLock(true); } } prepareCall(); }
/** * Pre-build configure the SQL call. */ public void prepareUpdateObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } if (this.query.getDescriptor().usesOptimisticLocking()) { call.setHasOptimisticLock(true); } } } else if (this.call != null) { if (!call.isReturnSet()) { this.call.returnNothing(); } if (this.query.getDescriptor().usesOptimisticLocking()) { ((DatabaseCall)this.call).setHasOptimisticLock(true); } } prepareCall(); }
/** * Pre-build configure the SQL call. */ public void prepareUpdateObject() { if (hasMultipleCalls()) { int size = this.calls.size(); for (int index = 0; index < size; index++) { DatabaseCall call = (DatabaseCall)this.calls.get(index); if (!call.isReturnSet()) { call.returnNothing(); } if (this.query.getDescriptor().usesOptimisticLocking()) { call.setHasOptimisticLock(true); } } } else if (this.call != null) { if (!call.isReturnSet()) { this.call.returnNothing(); } if (this.query.getDescriptor().usesOptimisticLocking()) { ((DatabaseCall)this.call).setHasOptimisticLock(true); } } prepareCall(); }