Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3280

Hibernate error on count method: "Missing right parenthesis"

    XMLWordPrintable

    Details

      Description

      With some entities, Hibernate fails on runtime on list page because count method:

      Missing right parenthesis
      

      It seems a Hibernate conversion error from this HQL:

      SELECT COUNT(o) FROM Entity o
      

      Although it is a Hibernate error, there is an equivalent HQL that no fails:

      SELECT COUNT(*) FROM Entity o
      

      I attach a diff patch with modification.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              mmartinez Mario Martínez Sánchez - gvNIX - DISID
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified