Skip to content

Commit 255a36b

Browse files
committed
HHH-19438 move OutputableType to org.hibernate.type
we're trying to clean up org.hibernate.Query
1 parent 346ecce commit 255a36b

12 files changed

+20
-21
lines changed

hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/BasicDomainType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import jakarta.persistence.metamodel.BasicType;
88

9-
import org.hibernate.query.OutputableType;
9+
import org.hibernate.type.OutputableType;
1010

1111
/**
1212
* Hibernate extension to the JPA {@link BasicType} contract.

hibernate-core/src/main/java/org/hibernate/procedure/internal/FunctionReturnImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.hibernate.procedure.spi.NamedCallableQueryMemento;
1212
import org.hibernate.procedure.spi.ProcedureCallImplementor;
1313
import org.hibernate.query.BindableType;
14-
import org.hibernate.query.OutputableType;
14+
import org.hibernate.type.OutputableType;
1515
import org.hibernate.sql.exec.internal.JdbcCallFunctionReturnImpl.RefCurserJdbcCallFunctionReturnImpl;
1616
import org.hibernate.sql.exec.internal.JdbcCallFunctionReturnImpl.RegularJdbcCallFunctionReturnImpl;
1717
import org.hibernate.sql.exec.internal.JdbcCallParameterExtractorImpl;

hibernate-core/src/main/java/org/hibernate/procedure/internal/PostgreSQLCallableStatementSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.hibernate.procedure.spi.FunctionReturnImplementor;
1212
import org.hibernate.procedure.spi.ProcedureCallImplementor;
1313
import org.hibernate.procedure.spi.ProcedureParameterImplementor;
14-
import org.hibernate.query.OutputableType;
14+
import org.hibernate.type.OutputableType;
1515
import org.hibernate.query.spi.ProcedureParameterMetadataImplementor;
1616
import org.hibernate.sql.exec.internal.JdbcCallImpl;
1717
import org.hibernate.sql.exec.spi.JdbcCallParameterRegistration;

hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
import org.hibernate.query.BindableType;
4545
import org.hibernate.query.KeyedPage;
4646
import org.hibernate.query.KeyedResultList;
47-
import org.hibernate.query.OutputableType;
47+
import org.hibernate.type.OutputableType;
4848
import org.hibernate.query.Query;
4949
import org.hibernate.query.QueryParameter;
5050
import org.hibernate.query.internal.QueryOptionsImpl;

hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureParameterImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import org.hibernate.procedure.spi.ProcedureCallImplementor;
1616
import org.hibernate.procedure.spi.ProcedureParameterImplementor;
1717
import org.hibernate.query.BindableType;
18-
import org.hibernate.query.OutputableType;
18+
import org.hibernate.type.OutputableType;
1919
import org.hibernate.query.internal.BindingTypeHelper;
2020
import org.hibernate.query.spi.AbstractQueryParameter;
2121
import org.hibernate.query.spi.QueryParameterBinding;

hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import jakarta.persistence.CacheRetrieveMode;
1717
import jakarta.persistence.CacheStoreMode;
1818
import jakarta.persistence.EntityGraph;
19+
1920
import org.hibernate.CacheMode;
2021
import org.hibernate.FlushMode;
2122
import org.hibernate.Incubating;
@@ -27,13 +28,11 @@
2728
import org.hibernate.Session;
2829
import org.hibernate.SessionFactory;
2930
import org.hibernate.UnknownProfileException;
30-
import org.hibernate.dialect.Dialect;
3131

3232
import jakarta.persistence.FlushModeType;
3333
import jakarta.persistence.LockModeType;
3434
import jakarta.persistence.Parameter;
3535
import jakarta.persistence.TemporalType;
36-
import org.hibernate.engine.profile.DefaultFetchProfile;
3736
import org.hibernate.graph.GraphSemantic;
3837

3938
/**
@@ -95,9 +94,10 @@
9594
* </ul>
9695
* <p>
9796
* The special built-in fetch profile named
98-
* {@value DefaultFetchProfile#HIBERNATE_DEFAULT_PROFILE} adds a fetch join for
99-
* every {@link jakarta.persistence.FetchType#EAGER eager} {@code @ManyToOne} or
100-
* {@code @OneToOne} association belonging to an entity returned by the query.
97+
* {@value org.hibernate.engine.profile.DefaultFetchProfile#HIBERNATE_DEFAULT_PROFILE}
98+
* adds a fetch join for every {@link jakarta.persistence.FetchType#EAGER eager}
99+
* {@code @ManyToOne} or {@code @OneToOne} association belonging to an entity
100+
* returned by the query.
101101
* <p>
102102
* Finally, three alternative approaches to pagination are available:
103103
* <ol>
@@ -146,8 +146,8 @@ default List<R> getResultList() {
146146

147147
/**
148148
* Returns scrollable access to the query results, using the
149-
* {@linkplain Dialect#defaultScrollMode() default scroll mode
150-
* of the SQL dialect.}
149+
* {@linkplain org.hibernate.dialect.Dialect#defaultScrollMode
150+
* default scroll mode of the SQL dialect.}
151151
*
152152
* @see #scroll(ScrollMode)
153153
*/

hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcCallFunctionReturnImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
package org.hibernate.sql.exec.internal;
66

7-
import org.hibernate.query.OutputableType;
7+
import org.hibernate.type.OutputableType;
88
import org.hibernate.sql.exec.spi.JdbcCallFunctionReturn;
99

1010
import jakarta.persistence.ParameterMode;

hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcCallParameterExtractorImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import java.sql.SQLException;
99

1010
import org.hibernate.engine.spi.SharedSessionContractImplementor;
11-
import org.hibernate.query.OutputableType;
11+
import org.hibernate.type.OutputableType;
1212
import org.hibernate.sql.exec.spi.JdbcCallParameterExtractor;
1313

1414
/**

hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcCallParameterRegistrationImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport;
1111
import org.hibernate.engine.spi.SharedSessionContractImplementor;
12-
import org.hibernate.query.OutputableType;
12+
import org.hibernate.type.OutputableType;
1313
import org.hibernate.sql.exec.spi.JdbcCallParameterExtractor;
1414
import org.hibernate.sql.exec.spi.JdbcCallParameterRegistration;
1515
import org.hibernate.sql.exec.spi.JdbcParameterBinder;

hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcCallParameterRegistration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import jakarta.persistence.ParameterMode;
99

1010
import org.hibernate.engine.spi.SharedSessionContractImplementor;
11-
import org.hibernate.query.OutputableType;
11+
import org.hibernate.type.OutputableType;
1212
import org.hibernate.sql.exec.internal.JdbcCallRefCursorExtractorImpl;
1313

1414
/**

0 commit comments

Comments
 (0)