File tree Expand file tree Collapse file tree 6 files changed +45
-0
lines changed
hibernate-core/src/main/java/org/hibernate/query/spi Expand file tree Collapse file tree 6 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 9696import static org .hibernate .jpa .internal .util .LockModeTypeHelper .interpretLockMode ;
9797
9898/**
99+ * Base implementation of {@link CommonQueryContract}.
100+ *
101+ * @apiNote This class is now considered internal implementation
102+ * and will move to an internal package in a future version.
103+ * Application programs should never depend directly on this class.
104+ *
99105 * @author Steve Ebersole
100106 */
107+ @ Internal
101108public abstract class AbstractCommonQueryContract implements CommonQueryContract {
102109 private final SharedSessionContractImplementor session ;
103110 private final QueryOptionsImpl queryOptions ;
Original file line number Diff line number Diff line change 2424import jakarta .persistence .Timeout ;
2525import org .hibernate .CacheMode ;
2626import org .hibernate .FlushMode ;
27+ import org .hibernate .Internal ;
2728import org .hibernate .query .QueryFlushMode ;
2829import org .hibernate .HibernateException ;
2930import org .hibernate .LockMode ;
6263import static org .hibernate .jpa .SpecHints .HINT_SPEC_QUERY_TIMEOUT ;
6364
6465/**
66+ * Base implementation of {@link org.hibernate.query.Query}.
67+ *
68+ * @apiNote This class is now considered internal implementation
69+ * and will move to an internal package in a future version.
70+ * Application programs should never depend directly on this class.
71+ *
6572 * @author Steve Ebersole
6673 */
74+ @ Internal
6775public abstract class AbstractQuery <R >
6876 extends AbstractSelectionQuery <R >
6977 implements QueryImplementor <R > {
Original file line number Diff line number Diff line change 55package org .hibernate .query .spi ;
66
77
8+ import org .hibernate .Internal ;
89import org .hibernate .type .BindableType ;
910
1011import static org .hibernate .query .QueryLogging .QUERY_MESSAGE_LOGGER ;
1112
1213/**
14+ * Base implementation of {@link org.hibernate.query.QueryParameter}.
15+ *
16+ * @apiNote This class is now considered internal implementation
17+ * and will move to an internal package in a future version.
18+ * Application programs should never depend directly on this class.
19+ *
1320 * @author Steve Ebersole
1421 */
22+ @ Internal
1523public abstract class AbstractQueryParameter <T > implements QueryParameterImplementor <T > {
1624
1725 private boolean allowMultiValuedBinding ;
Original file line number Diff line number Diff line change 2020import jakarta .persistence .Timeout ;
2121import org .hibernate .CacheMode ;
2222import org .hibernate .FlushMode ;
23+ import org .hibernate .Internal ;
2324import org .hibernate .ScrollableResults ;
2425import org .hibernate .engine .spi .SessionImplementor ;
2526import org .hibernate .query .QueryFlushMode ;
6768import static org .hibernate .jpa .HibernateHints .HINT_READ_ONLY ;
6869
6970/**
71+ * Base implementation of {@link SelectionQuery}.
72+ *
73+ * @apiNote This class is now considered internal implementation
74+ * and will move to an internal package in a future version.
75+ * Application programs should never depend directly on this class.
76+ *
7077 * @author Steve Ebersole
7178 */
79+ @ Internal
7280public abstract class AbstractSelectionQuery <R >
7381 extends AbstractCommonQueryContract
7482 implements SelectionQuery <R >, DomainQueryExecutionContext {
Original file line number Diff line number Diff line change 66
77import java .util .concurrent .ConcurrentHashMap ;
88
9+ import org .hibernate .Internal ;
910import org .hibernate .query .sqm .internal .DomainParameterXref ;
1011import org .hibernate .query .sqm .tree .SqmStatement ;
1112import org .hibernate .query .sqm .tree .select .SqmSelectStatement ;
1415import static org .hibernate .query .sqm .internal .SqmUtil .isResultTypeAlwaysAllowed ;
1516
1617/**
18+ * Default implementation if {@link HqlInterpretation}.
19+ *
20+ * @apiNote This class is now considered internal implementation
21+ * and will move to an internal package in a future version.
22+ * Application programs should never depend directly on this class.
23+ *
1724 * @author Steve Ebersole
1825 */
26+ @ Internal
1927public class SimpleHqlInterpretationImpl <R > implements HqlInterpretation <R > {
2028 private final SqmStatement <R > sqmStatement ;
2129 private final ParameterMetadataImplementor parameterMetadata ;
Original file line number Diff line number Diff line change 44 */
55package org .hibernate .query .spi ;
66
7+ import org .hibernate .Internal ;
78import org .hibernate .LockOptions ;
89import org .hibernate .sql .exec .spi .JdbcOperationQuerySelect ;
910import org .hibernate .sql .results .spi .ListResultsConsumer ;
1011
1112/**
13+ * @apiNote This class is considered internal implementation
14+ * and will move to an internal package in a future version.
15+ * Application programs should never depend directly on this class.
16+ *
1217 * @author Christian Beikov
1318 */
19+ @ Internal
1420public class SqlOmittingQueryOptions extends DelegatingQueryOptions {
1521
1622 private final boolean omitLimit ;
You can’t perform that action at this time.
0 commit comments