Skip to content

Commit 10935e1

Browse files
committed
javadoc improvements
1 parent ddeaffc commit 10935e1

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ default boolean isXmlFunctionsEnabled() {
453453
}
454454

455455
/**
456+
* Should HQL integer division HQL should produce an integer on
457+
* Oracle, MySQL, and MariaDB, where the {@code /} operator produces
458+
* a non-integer.
459+
*
456460
* @see org.hibernate.cfg.AvailableSettings#PORTABLE_INTEGER_DIVISION
457461
*/
458462
@Override
@@ -461,11 +465,18 @@ default boolean isPortableIntegerDivisionEnabled() {
461465
}
462466

463467
/**
468+
* The number of {@link org.hibernate.stat.QueryStatistics} entries
469+
* that should be stored by {@link org.hibernate.stat.Statistics}.
470+
*
464471
* @see org.hibernate.cfg.StatisticsSettings#QUERY_STATISTICS_MAX_SIZE
465472
*/
466473
int getQueryStatisticsMaxSize();
467474

468475
/**
476+
* Should JPA entity lifecycle callbacks be processed by
477+
* the {@link org.hibernate.event.spi.EventEngine} and
478+
* {@link org.hibernate.jpa.event.spi.CallbackRegistry}?
479+
*
469480
* @see org.hibernate.cfg.PersistenceSettings#JPA_CALLBACKS_ENABLED
470481
*/
471482
boolean areJPACallbacksEnabled();

hibernate-core/src/main/java/org/hibernate/jpa/event/internal/CallbacksFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
/**
2525
* The intent of this class is to use a lighter implementation
26-
* when JPA callbacks are disabled via
27-
* {@link SessionFactoryOptions#areJPACallbacksEnabled()}
26+
* when standard JPA entity lifecycle callbacks are disabled via
27+
* {@link SessionFactoryOptions#areJPACallbacksEnabled()}.
2828
*/
2929
public final class CallbacksFactory {
3030
private static final Logger log = Logger.getLogger( CallbacksFactory.class );

hibernate-core/src/main/java/org/hibernate/jpa/event/spi/CallbackRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package org.hibernate.jpa.event.spi;
66

77
/**
8-
* Registry of Callbacks by entity and type
8+
* Registry of JPA entity lifecycle callbacks by entity and type.
99
*
1010
* @author Steve Ebersole
1111
*/

0 commit comments

Comments
 (0)