[midPoint-git] [Evolveum/midpoint] 4a512f: Fix archetypeRef/@/name query on generic repo

mederly noreply at github.com
Tue Jan 23 22:33:46 CET 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4a512fdb978325db4709bf21ad6491b54ad29163
      https://github.com/Evolveum/midpoint/commit/4a512fdb978325db4709bf21ad6491b54ad29163
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/QueryInterpreterTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/SearchTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/SequenceTest.java
    M repo/repo-sql-impl-test/testng-integration.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaLinkDefinition.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaReferenceDefinition.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/hqm/JoinSpecification.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/ItemPathResolver.java

  Log Message:
  -----------
  Fix archetypeRef/@/name query on generic repo

When dereferencing using the "@" operator, we now tell
Hibernate to use the specific target (joined) type by using
root joins.

Related to MID-9427.




More information about the midPoint-svn mailing list