Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-500

deleteSQL query is wrong in PublisherAssertionQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.4
    • 3.1.0
    • core
    • juddi-portal-bundle-3.0.4 (with bundled derby)

    Description

      Saving publisherAssertions using set_publisherAssertions API method results in the following exception message been thrown:
      Encountered "pa" at character 8, but expected: ["FROM"].

      That belongs to the following query statement recorded in the juddi.log:
      delete pa from PublisherAssertion pa where ( pa.businessEntityByFromKey.entityKey in ( ?, ?, ?) or pa.businessEntityByToKey.entityKey in ( ?, ?, ?) )

      As the result set_publisherAssertions API method is unusable.

      Proposed fix attached.

      Attachments

        1. X.diff
          0.6 kB
          Dmitry Lipin

        Issue Links

          Activity

            People

              kstam Kurt Stam
              dlipin Dmitry Lipin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: