Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1516

Service builder incorrectly generates ORDER BY for compound primary keys

Details

    Description

      Service builder does not correctly generate the ORDER BY clause of an SQL query if the tables uses a compound primary key. For example, a table has primary keys, column1, column2, .... The generated method currently sorts by table.column1. However, it should sort by table.id.column1.

      UPGRADE NOTE:

      To apply this bug fix to custom services, please run Service Builder again in the extension environment and for each portlet that uses Service Builder.

      Attachments

        Issue Links

          Activity

            People

              mark.jin Mark Jin (Inactive)
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)