-
Bug
-
Resolution: Fixed
-
High
-
6.0.1, 6.0.6, 6.1.1, 6.2.0, 6.1.3, 6.3.2, 6.6.2, 6.10.0, 6.13.4, 6.15.4
-
42
-
Severity 3 - Minor
-
4
-
Summary
Hibernate query deprecation warnings in Confluence 6 logs
Environment
- Confluence 6
- Synchrony enabled
Steps to reproduce
After startup the following message is printed to the atlassian-confluenc.log:
2017-03-13 16:53:32,450 WARN [http-nio-443-exec-23] [hql.internal.ast.HqlSqlWalker] generatePositionalParameter [DEPRECATION] Encountered positional parameter near line 1, column 131 in HQL: [SELECT mem.parentGroup.name FROM com.atlassian.crowd.embedded.hibernate2.HibernateMembership mem WHERE mem.userMember.lowerName = ? and mem.parentGroup.directory.id = ? ORDER BY mem.parentGroup.lowerName]. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
Notes
Error seems to be benign as Synchrony still works, this is a logging issue.
Workaround
Adding the following to log4j.properties will suppress those messages
log4j.logger.org.hibernate.hql.internal.ast=ERROR
[CONFSERVER-51874] Hibernate query deprecation warnings in Confluence 6 logs
Labels | Original: affects-server enterprise enterprise-backlog lbp log-pollution pse-request | New: affects-server enterprise enterprise-backlog lbp log-pollution no-advisory-required pse-request |
Fix Version/s | New: 7.3.1 [ 91398 ] | |
Fix Version/s | Original: 7.3.0 [ 90890 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Fix Version/s | New: 7.3.0 [ 90890 ] |
Status | Original: Awaiting Merge [ 10064 ] | New: Waiting for Release [ 12075 ] |
Remote Link |
New:
This issue links to "R7.3 P1. Baseline › WebDriver tests (Firefox 2.53.1, Oracle JDK 11) › db-issue-73- |
Remote Link |
New:
This issue links to "R7.3 P3. Database Support › SQL Server 2012, Tomcat 9, Java 11 › db-issue-73- |
Remote Link |
New:
This issue links to "R7.3 P3. Major Release › Windows H2 (Tomcat 9, Java 11) › db-issue-73- |
Remote Link |
New:
This issue links to "R7.3 P3. Database Support › MySQL 8.0, Tomcat 9, Java 11 › db-issue-73- |
Remote Link |
New:
This issue links to "R7.3 P3. Database Support › SQL Server 2017 Linux, Tomcat 9, Java 11 › db-issue-73- |