-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HHH-17068 introduce JoinType to replace use of SqmJoinType in criteri…
…a API fis the layer-breakage Signed-off-by: Gavin King <[email protected]>
- Loading branch information
Showing
20 changed files
with
183 additions
and
121 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
hibernate-core/src/main/java/org/hibernate/query/common/JoinType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later | ||
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html | ||
*/ | ||
package org.hibernate.query.common; | ||
|
||
/** | ||
* Enumerates the possible kinds of join in HQL and ANSI SQL. | ||
* | ||
* @apiNote This enumeration competes with | ||
* {@link jakarta.persistence.criteria.JoinType}, | ||
* adding {@link #FULL} and {@link #CROSS} joins. | ||
* | ||
* @author Gavin King | ||
* | ||
* @since 7 | ||
* | ||
* @see jakarta.persistence.criteria.JoinType | ||
*/ | ||
public enum JoinType { | ||
/** | ||
* @see jakarta.persistence.criteria.JoinType#INNER | ||
*/ | ||
INNER, | ||
/** | ||
* @see jakarta.persistence.criteria.JoinType#LEFT | ||
*/ | ||
LEFT, | ||
/** | ||
* @see jakarta.persistence.criteria.JoinType#RIGHT | ||
*/ | ||
RIGHT, | ||
FULL, | ||
CROSS | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.