15
15
16
16
/**
17
17
* @author Steve Ebersole
18
+ *
19
+ * @see org.hibernate.query.spi.QueryEngineOptions
18
20
*/
19
21
public interface QuerySettings {
20
22
/**
21
23
* Boolean setting to control if the use of tech preview JSON functions in HQL is enabled.
22
24
*
23
25
* @settingDefault {@code false} (disabled) since the functions are still incubating.
24
26
*
27
+ * @see org.hibernate.query.spi.QueryEngineOptions#isJsonFunctionsEnabled
28
+ *
25
29
* @since 7.0
26
30
*/
27
31
@ Incubating
@@ -32,6 +36,8 @@ public interface QuerySettings {
32
36
*
33
37
* @settingDefault {@code false} (disabled) since the functions are still incubating.
34
38
*
39
+ * @see org.hibernate.query.spi.QueryEngineOptions#isXmlFunctionsEnabled
40
+ *
35
41
* @since 7.0
36
42
*/
37
43
@ Incubating
@@ -44,31 +50,41 @@ public interface QuerySettings {
44
50
*
45
51
* @settingDefault {@code false}
46
52
*
53
+ * @see org.hibernate.query.spi.QueryEngineOptions#isPortableIntegerDivisionEnabled
54
+ *
47
55
* @since 6.5
48
56
*/
49
57
String PORTABLE_INTEGER_DIVISION = "hibernate.query.hql.portable_integer_division" ;
50
58
51
59
/**
52
60
* Specifies a {@link org.hibernate.query.hql.HqlTranslator} to use for HQL query
53
61
* translation.
62
+ *
63
+ * @see org.hibernate.query.spi.QueryEngineOptions#getCustomHqlTranslator
54
64
*/
55
65
String SEMANTIC_QUERY_PRODUCER = "hibernate.query.hql.translator" ;
56
66
57
67
/**
58
68
* Specifies a {@link org.hibernate.query.sqm.sql.SqmTranslatorFactory} to use for
59
69
* HQL query translation.
70
+ *
71
+ * @see org.hibernate.query.spi.QueryEngineOptions#getCustomSqmTranslatorFactory
60
72
*/
61
73
String SEMANTIC_QUERY_TRANSLATOR = "hibernate.query.sqm.translator" ;
62
74
63
75
/**
64
76
* 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
66
80
*/
67
81
String QUERY_MULTI_TABLE_MUTATION_STRATEGY = "hibernate.query.mutation_strategy" ;
68
82
69
83
/**
70
84
* Defines the "global" strategy to use for handling HQL and Criteria insert queries.
71
85
* Specifies a {@link org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy}.
86
+ *
87
+ * @see org.hibernate.query.spi.QueryEngineOptions#getCustomSqmMultiTableInsertStrategy
72
88
*/
73
89
String QUERY_MULTI_TABLE_INSERT_STRATEGY = "hibernate.query.insert_strategy" ;
74
90
@@ -116,6 +132,7 @@ public interface QuerySettings {
116
132
* @see jakarta.persistence.criteria.CriteriaBuilder#literal(Object)
117
133
* @see jakarta.persistence.criteria.CriteriaBuilder#parameter(Class)
118
134
* @see org.hibernate.query.criteria.HibernateCriteriaBuilder#value(Object)
135
+ * @see org.hibernate.query.spi.QueryEngineOptions#getCriteriaValueHandlingMode
119
136
*/
120
137
String CRITERIA_VALUE_HANDLING_MODE = "hibernate.criteria.value_handling_mode" ;
121
138
@@ -216,6 +233,7 @@ public interface QuerySettings {
216
233
* @since 5.2
217
234
*
218
235
* @see ImmutableEntityUpdateQueryHandlingMode
236
+ * @see org.hibernate.query.spi.QueryEngineOptions#getImmutableEntityUpdateQueryHandlingMode
219
237
*/
220
238
String IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE = "hibernate.query.immutable_entity_update_query_handling_mode" ;
221
239
0 commit comments