[hibernate-commits] [hibernate/hibernate-orm] 255543: HHH-13111 Restore support of criteria subqueries i...

GitHub noreply at github.com
Fri Nov 23 10:46:47 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 25554375f23b625963c7153160b932a315145b72
      https://github.com/hibernate/hibernate-orm/commit/25554375f23b625963c7153160b932a315145b72
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-11-23 (Fri, 23 Nov 2018)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/CriteriaSubqueryImpl.java
    A hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/subquery/AbstractSubqueryInSelectClauseTest.java
    A hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/subquery/SubqueryInSelectClauseJpaComplianceTest.java
    A hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/subquery/SubqueryInSelectClauseTest.java

  Log Message:
  -----------
  HHH-13111 Restore support of criteria subqueries in select clauses

When the JPA query compliance mode is disabled (the default), it should
be possible to include subqueries in select clauses of a criteria query.

This was previously accepted due to a bug. After having fixed HHH-13001, we
started to throw an IllegalStateException.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the hibernate-commits mailing list