Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-70242

Service builder does not allow Date as PK

    Details

      Description

      If a Date column is indicated as a primary key in a service.xml, generated files will compile incorrectly.

      Steps to reproduce
      1. Create a lrsb directory in liferay-source/modules
      2. Add both the lrsb-api and lrsb-service folders from zip to the lrsb directory
      3. Run "gradle buildService" in lrsb. Observe no code changes.
      4. Run "gradle compileJava" in lrsb. Ensure compilation.

      Expected
      1. No code changes from service builder
      2. lrsb module compiles correctly

      Actual
      1. "java.util.Date" import is removed from Foo.java
      2. lrsb does not compile.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 46 weeks ago

                  Packages

                  Version Package