Code example for Connection

Methods: prepareCall

0
/*      */   { 
/*  940 */     OracleCallableStatement localOracleCallableStatement = null;
/*  941 */     Datum localDatum = null;
/*      */     try 
/*      */     { 
/*  945 */       localOracleCallableStatement = (OracleCallableStatement)paramConnection.prepareCall("begin dbms_lob.createTemporary (:1," + (paramBoolean ? "TRUE" : "FALSE") + ", :2); end;");
/*      */  
/*  949 */       localOracleCallableStatement.registerOutParameter(1, paramInt2);
/*  950 */       localOracleCallableStatement.setFormOfUse(1, paramShort);
/*      */  
/*  953 */       localOracleCallableStatement.setInt(2, paramInt1);
/*  954 */       localOracleCallableStatement.execute();
/*      */  
/*  956 */       localDatum = localOracleCallableStatement.getOracleObject(1);
/*      */     } 
/*      */     finally 
/*      */     { 
/*  960 */       if (localOracleCallableStatement != null)
/*      */       { 
/*  962 */         localOracleCallableStatement.close();
/*      */