Skip to content

Commit eb02f85

Browse files
committed
add some @see links to QuerySettings
1 parent 3baea79 commit eb02f85

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

hibernate-core/src/main/java/org/hibernate/cfg/QuerySettings.java

+19-1
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@
1515

1616
/**
1717
* @author Steve Ebersole
18+
*
19+
* @see org.hibernate.query.spi.QueryEngineOptions
1820
*/
1921
public interface QuerySettings {
2022
/**
2123
* Boolean setting to control if the use of tech preview JSON functions in HQL is enabled.
2224
*
2325
* @settingDefault {@code false} (disabled) since the functions are still incubating.
2426
*
27+
* @see org.hibernate.query.spi.QueryEngineOptions#isJsonFunctionsEnabled
28+
*
2529
* @since 7.0
2630
*/
2731
@Incubating
@@ -32,6 +36,8 @@ public interface QuerySettings {
3236
*
3337
* @settingDefault {@code false} (disabled) since the functions are still incubating.
3438
*
39+
* @see org.hibernate.query.spi.QueryEngineOptions#isXmlFunctionsEnabled
40+
*
3541
* @since 7.0
3642
*/
3743
@Incubating
@@ -44,31 +50,41 @@ public interface QuerySettings {
4450
*
4551
* @settingDefault {@code false}
4652
*
53+
* @see org.hibernate.query.spi.QueryEngineOptions#isPortableIntegerDivisionEnabled
54+
*
4755
* @since 6.5
4856
*/
4957
String PORTABLE_INTEGER_DIVISION = "hibernate.query.hql.portable_integer_division";
5058

5159
/**
5260
* Specifies a {@link org.hibernate.query.hql.HqlTranslator} to use for HQL query
5361
* translation.
62+
*
63+
* @see org.hibernate.query.spi.QueryEngineOptions#getCustomHqlTranslator
5464
*/
5565
String SEMANTIC_QUERY_PRODUCER = "hibernate.query.hql.translator";
5666

5767
/**
5868
* Specifies a {@link org.hibernate.query.sqm.sql.SqmTranslatorFactory} to use for
5969
* HQL query translation.
70+
*
71+
* @see org.hibernate.query.spi.QueryEngineOptions#getCustomSqmTranslatorFactory
6072
*/
6173
String SEMANTIC_QUERY_TRANSLATOR = "hibernate.query.sqm.translator";
6274

6375
/**
6476
* Defines the "global" strategy to use for handling HQL and Criteria mutation queries.
65-
* Specifies a {@link org.hibernate.query.sqm.mutation.spi.SqmMultiTableMutationStrategy}..
77+
* Specifies a {@link org.hibernate.query.sqm.mutation.spi.SqmMultiTableMutationStrategy}.
78+
*
79+
* @see org.hibernate.query.spi.QueryEngineOptions#getCustomSqmMultiTableMutationStrategy
6680
*/
6781
String QUERY_MULTI_TABLE_MUTATION_STRATEGY = "hibernate.query.mutation_strategy";
6882

6983
/**
7084
* Defines the "global" strategy to use for handling HQL and Criteria insert queries.
7185
* Specifies a {@link org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy}.
86+
*
87+
* @see org.hibernate.query.spi.QueryEngineOptions#getCustomSqmMultiTableInsertStrategy
7288
*/
7389
String QUERY_MULTI_TABLE_INSERT_STRATEGY = "hibernate.query.insert_strategy";
7490

@@ -116,6 +132,7 @@ public interface QuerySettings {
116132
* @see jakarta.persistence.criteria.CriteriaBuilder#literal(Object)
117133
* @see jakarta.persistence.criteria.CriteriaBuilder#parameter(Class)
118134
* @see org.hibernate.query.criteria.HibernateCriteriaBuilder#value(Object)
135+
* @see org.hibernate.query.spi.QueryEngineOptions#getCriteriaValueHandlingMode
119136
*/
120137
String CRITERIA_VALUE_HANDLING_MODE = "hibernate.criteria.value_handling_mode";
121138

@@ -216,6 +233,7 @@ public interface QuerySettings {
216233
* @since 5.2
217234
*
218235
* @see ImmutableEntityUpdateQueryHandlingMode
236+
* @see org.hibernate.query.spi.QueryEngineOptions#getImmutableEntityUpdateQueryHandlingMode
219237
*/
220238
String IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE = "hibernate.query.immutable_entity_update_query_handling_mode";
221239

0 commit comments

Comments
 (0)