[midPoint-git] [Evolveum/midpoint] bc4579: old-repo: aliases starting with _, TYPE uses exist...

virgo47 noreply at github.com
Tue Jul 5 02:51:09 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: bc45792bd4e07792b5aebaa2eba4afbed7906ba4
      https://github.com/Evolveum/midpoint/commit/bc45792bd4e07792b5aebaa2eba4afbed7906ba4
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/QueryInterpreterTest.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/hqm/HibernateQuery.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/TypeRestriction.java

  Log Message:
  -----------
  old-repo: aliases starting with _, TYPE uses exists only with subfilter

If TYPE filter doesn't have inner filter, restriction uses "old" style
without EXISTS which is better in that case.
Subqueries could produce alias like "or" which is invalid, all aliases
now start with _ to avoid this.
QueryInterpreterTest needed plenty of fixes after these changes.




More information about the midPoint-svn mailing list