/* */ void prepareBindPreambles(int paramInt1, int paramInt2) /* */ { /* 1212 */ int i = this.bindIndicatorSubRange; /* */ /* 1214 */ initializeIndicatorSubRange(); /* */ /* 1216 */ int j = this.bindIndicatorSubRange; /* */ /* 1218 */ this.bindIndicatorSubRange = i; /* */ /* 1220 */ int k = this.bindIndicatorSubRange - j; /* 1221 */ OracleTypeADT[] arrayOfOracleTypeADT = this.parameterOtype == null ? null : this.parameterOtype[this.firstRowInBatch]; /* */ /* 1225 */ for (int m = 0; m < this.numberOfBindPositions; m++) /* */ { /* 1228 */ Binder localBinder = this.lastBinders[m]; /* */ OracleTypeADT localOracleTypeADT; /* */ int n; /* 1231 */ if (localBinder == this.theReturnParamBinder) /* */ { /* 1233 */ localOracleTypeADT = (OracleTypeADT) this.returnParamAccessors[m].internalOtype; /* 1234 */ n = 0; /* */ } /* */ else /* */ { /* 1238 */ localOracleTypeADT = arrayOfOracleTypeADT == null ? null : arrayOfOracleTypeADT[m]; /* */ /* 1240 */ if (this.outBindAccessors == null) { /* 1241 */ n = 0; /* */ } /* */ else { /* 1244 */ Accessor localAccessor = this.outBindAccessors[m]; /* */ /* 1246 */ if (localAccessor == null) { /* 1247 */ n = 0; /* 1248 */ } else if (localBinder == this.theOutBinder) /* */ { /* 1250 */ n = 1; /* */ /* 1252 */ if (localOracleTypeADT == null) /* 1253 */ localOracleTypeADT = (OracleTypeADT) localAccessor.internalOtype; /* */ } /* */ else { /* 1256 */ n = 2; /* */ } /* */ } /* 1259 */ if (localBinder == this.theSetCHARBinder) { /* 1260 */ n = (short) (n | 0x4); /* */ } /* */ } /* 1263 */ this.bindIndicators[(k++)] = n; /* */ /* 1265 */ if (localOracleTypeADT != null) /* */ { /* 1267 */ long l = localOracleTypeADT.getTdoCState(); /* */ /* 1269 */ this.bindIndicators[(k + 0)] = (short) (int) (l >> 48 & 0xFFFF); /* */ /* 1271 */ this.bindIndicators[(k + 1)] = (short) (int) (l >> 32 & 0xFFFF); /* */ /* 1273 */ this.bindIndicators[(k + 2)] = (short) (int) (l >> 16 & 0xFFFF); /* */ /* 1275 */ this.bindIndicators[(k + 3)] = (short) (int) (l & 0xFFFF); /* */ } /* */ /* 1278 */ k += 4; /* */ } /* */ }