Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-836

Bug in SqlJdbcUtil.java regarding outer join in oracle theta join mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      There is a problem in SqlJdbcUtil.java class regarding outer join in oracle, becase the sould be in the end of the Left/Right hand not in the first

      The following line (number: 344):
      if (isOracleStyle && viewLink.isRelOptional()) whereString.append(" ");

      Should be placed after the following lines:
      whereString.append(viewLink.getRelEntityAlias());
      whereString.append(".");
      whereString.append(filterColName(relLinkField.getColName()));

      as the patch in the attached file

      Attachments

        1. change.patch
          0.9 kB
          Mamdouh Kaadan

        Activity

          People

            Unassigned Unassigned
            mkaadan Mamdouh Kaadan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: