[midPoint-git] [Evolveum/midpoint] 8a933b: generic repo: fixes around [] in LIKE (substring) ...

virgo47 noreply at github.com
Mon Apr 4 14:20:03 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 8a933bd1703375f8dbb9663a86d079319945a399
      https://github.com/Evolveum/midpoint/commit/8a933bd1703375f8dbb9663a86d079319945a399
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/RepoConcurrencyTest.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/RepoSubstringPatternsTest.java
    M repo/repo-common/testng-integration.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/InterpretationContext.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/QueryInterpreter.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/hqm/RootHibernateQuery.java

  Log Message:
  -----------
  generic repo: fixes around [] in LIKE (substring) for SQL Server

This required to get the DB type into RootHibernateQuery, because while
PG can handle other escaped chars, Oracle doesn't like them.
RepoSubstringPatternsTest was added to test various escaping cases.




More information about the midPoint-svn mailing list