Uploaded image for project: 'S2Dao'
  1. S2Dao
  2. DAO-5

プロシージャ部分で、カタログ名とスキーマ名が逆

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 1.0.35
    • Affects Version/s: None
    • Component/s: s2dao
    • None

      以下、パッチです。

      Index: s2-dao/src/main/java/org/seasar/dao/handler/AbstractBasicProcedureHandler.java
      ===================================================================
      — s2-dao/src/main/java/org/seasar/dao/handler/AbstractBasicProcedureHandler.java (revision 288)
      +++ s2-dao/src/main/java/org/seasar/dao/handler/AbstractBasicProcedureHandler.java (working copy)
      @@ -113,7 +113,7 @@
      if(namesLength == 1)

      { rs = dmd.getProcedures(null,null,names[0]); }

      else if(namesLength == 2)

      { - rs = dmd.getProcedures(names[0],null,names[1]); + rs = dmd.getProcedures(null,names[0],names[1]); }

      else if(namesLength == 3)

      { rs = dmd.getProcedures(names[0],names[1],names[2]); }

            Assignee:
            manhole manhole
            Reporter:
            kimura kimura
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: