Skip to content

Commit 0dd6590

Browse files
committed
add missing @OverRide annotations and more @see in jdoc
1 parent 214909e commit 0dd6590

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public interface SessionFactoryOptions extends QueryEngineOptions {
5959
* @see org.hibernate.internal.SessionFactoryRegistry#getSessionFactory
6060
* @see SessionFactoryImplementor#getUuid
6161
*/
62+
@Override
6263
String getUuid();
6364

6465
/**
@@ -81,6 +82,7 @@ public interface SessionFactoryOptions extends QueryEngineOptions {
8182
/**
8283
* @see org.hibernate.cfg.JpaComplianceSettings
8384
*/
85+
@Override
8486
JpaCompliance getJpaCompliance();
8587

8688
/**
@@ -111,6 +113,7 @@ default boolean isAllowRefreshDetachedEntity() {
111113
*
112114
* @see org.hibernate.cfg.PersistenceSettings#SESSION_FACTORY_NAME
113115
*/
116+
@Override
114117
String getSessionFactoryName();
115118

116119
/**
@@ -378,6 +381,7 @@ default boolean isAllowRefreshDetachedEntity() {
378381
/**
379382
* @see org.hibernate.cfg.AvailableSettings#CRITERIA_VALUE_HANDLING_MODE
380383
*/
384+
@Override
381385
default ValueHandlingMode getCriteriaValueHandlingMode() {
382386
return ValueHandlingMode.BIND;
383387
}

hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngineOptions.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public interface QueryEngineOptions {
2626
* Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.
2727
*
2828
* @see org.hibernate.query.hql
29+
*
30+
* @see org.hibernate.cfg.QuerySettings#SEMANTIC_QUERY_PRODUCER
2931
*/
3032
HqlTranslator getCustomHqlTranslator();
3133

@@ -34,6 +36,8 @@ public interface QueryEngineOptions {
3436
* For standard ORM implementations this will generally be some form of SQL tree.
3537
*
3638
* @see org.hibernate.sql.ast.tree
39+
*
40+
* @see org.hibernate.cfg.QuerySettings#SEMANTIC_QUERY_TRANSLATOR
3741
*/
3842
SqmTranslatorFactory getCustomSqmTranslatorFactory();
3943

@@ -59,19 +63,32 @@ public interface QueryEngineOptions {
5963
/**
6064
* Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries
6165
* where the target of the mutation is a multi-table entity.
66+
*
67+
* @see org.hibernate.cfg.QuerySettings#QUERY_MULTI_TABLE_MUTATION_STRATEGY
6268
*/
6369
SqmMultiTableMutationStrategy getCustomSqmMultiTableMutationStrategy();
6470

6571
/**
6672
* Contract for handling SQM trees representing insertion (INSERT) queries where the
6773
* target of the mutation is a multi-table entity.
74+
*
75+
* @see org.hibernate.cfg.QuerySettings#QUERY_MULTI_TABLE_INSERT_STRATEGY
6876
*/
6977
SqmMultiTableInsertStrategy getCustomSqmMultiTableInsertStrategy();
7078

79+
/**
80+
* @see org.hibernate.cfg.JpaComplianceSettings
81+
*/
7182
JpaCompliance getJpaCompliance();
7283

84+
/**
85+
* @see org.hibernate.cfg.QuerySettings#CRITERIA_VALUE_HANDLING_MODE
86+
*/
7387
ValueHandlingMode getCriteriaValueHandlingMode();
7488

89+
/**
90+
* @see org.hibernate.cfg.QuerySettings#IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE
91+
*/
7592
default ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode() {
7693
return ImmutableEntityUpdateQueryHandlingMode.WARNING;
7794
}

0 commit comments

Comments
 (0)