• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • Oracle JDBC中的語句緩存(2)

    發表于:2013-10-10來源:IT博客大學習作者:老熊點擊數: 標簽:oracle
    第40行替換為: pstmt = ((OracleConnection)conn).getStatementWithKey (cache_test1); if (pstmt==null) 第46行替換為: ((OraclePreparedStatement)pstmt).closeWithKey (cache_test1); 這樣通過手

      第40行替換為:

      pstmt = ((OracleConnection)conn).getStatementWithKey ("cache_test1");

      if (pstmt==null)

      第46行替換為:

      ((OraclePreparedStatement)pstmt).closeWithKey ("cache_test1");

      這樣通過手工編碼的方式控制哪些語句需要緩存,哪些不需要。

      關于語句緩存(Statement Caching)可以參考Oracle在線文檔:Statement and Result Set Caching

    原文轉自:http://blogread.cn/it/article/6685

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>