Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-95

Deprecated HQL query with recent versions of XWiki

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.4.5
    • Fix Version/s: 9.5
    • Component/s: Authenticator
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      When trying to use LDAP authenticator locally on XWiki 12.8 I obtain the following:

      2020-10-30 12:41:38,175 [qtp783286238-24 - http://localhost:8080/xwiki/bin/view/Main/] WARN  c.x.x.XWiki                    - Deprecated usage legacy-style HQL ordinal parameters (`?`); use JPA-style ordinal parameters (e.g., `?1`) instead. Query [select distinct doc.fullName from XWikiDocument as doc , BaseObject as obj, StringProperty as prop where doc.fullName=obj.name and obj.className=? and obj.id=prop.id.id and prop.name=? and lower(prop.value)=?] has been converted to [select distinct doc.fullName from XWikiDocument as doc , BaseObject as obj, StringProperty as prop where doc.fullName=obj.name and obj.className=?1 and obj.id=prop.id.id and prop.name=?2 and lower(prop.value)=?3] 
      
      

        Attachments

          Activity

            People

            Assignee:
            camil7 Clemens Robbenhaar
            Reporter:
            surli Simon Urli
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: