[midPoint-git] [Evolveum/midpoint] fbf491: AuditSearchTest.java: added test for LIKE with _, ...

virgo47 noreply at github.com
Thu Sep 3 23:01:53 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: fbf491b6bcee3f943f6c529b5e9c93ffe4d93adc
      https://github.com/Evolveum/midpoint/commit/fbf491b6bcee3f943f6c529b5e9c93ffe4d93adc
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2020-09-03 (Thu, 03 Sep 2020)

  Changed paths:
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditSearchTest.java

  Log Message:
  -----------
  AuditSearchTest.java: added test for LIKE with _, Querydsl covers it!

_ in LIKE is "any character" (like . in regex) and needs to be escaped.
If we use Querydsl operations like starts/endsWith() or contains(),
the escaping is done automatically for us (not sure about like(), but
that one has lower level semantics anyway).




More information about the midPoint-svn mailing list