Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10098

HHH-7440 - SQLServer2005Dialect.insertRowNumberFunction() is broken for field names containing "from"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • EAP 6.0.0
    • Hibernate
    • None
    • Hide

      Use Criteria Builder style or plain text style queries and use setMaxResults or getSingleResult to retrieve an entity containing a column with "from" in the name.

      Configure hibernate to show generated sql, and notice that ROW_NUMBER() OVER (ORDER BY CURRENT_TIMESTAMP) as _hibernate_row_nr_ is inserted in the SQL just before the "from" portion of the column name.

      Show
      Use Criteria Builder style or plain text style queries and use setMaxResults or getSingleResult to retrieve an entity containing a column with "from" in the name. Configure hibernate to show generated sql, and notice that ROW_NUMBER() OVER (ORDER BY CURRENT_TIMESTAMP) as _ hibernate_row_nr _ is inserted in the SQL just before the "from" portion of the column name.
    • Not Required
    • NEW

    Attachments

      Activity

        People

          brmeyer_jira Brett Meyer (Inactive)
          rhn-support-csams Christopher Sams
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: