diff --git a/hibernate-core/src/main/java/org/hibernate/LockOptions.java b/hibernate-core/src/main/java/org/hibernate/LockOptions.java index 31bb90e4f8..98367f118e 100644 --- a/hibernate-core/src/main/java/org/hibernate/LockOptions.java +++ b/hibernate-core/src/main/java/org/hibernate/LockOptions.java @@ -153,9 +153,9 @@ public class LockOptions implements Serializable { /** * Determine the {@link LockMode} to apply to the given alias. If no - * mode was explicitly {@link #setAliasSpecificLockMode set}, the - * {@link #getLockMode overall mode} is returned. If the overall lock mode is - * {@code null} as well, {@link LockMode#NONE} is returned. + * mode was explicitly {@linkplain #setAliasSpecificLockMode set}, the + * {@linkplain #getLockMode overall mode} is returned. If the overall + * lock mode is {@code null} as well, {@link LockMode#NONE} is returned. *
* Differs from {@link #getAliasSpecificLockMode} in that here we fallback to we only return * the overall lock mode. diff --git a/hibernate-core/src/main/java/org/hibernate/Session.java b/hibernate-core/src/main/java/org/hibernate/Session.java index 8b4ae83d42..86c8db9e58 100644 --- a/hibernate-core/src/main/java/org/hibernate/Session.java +++ b/hibernate-core/src/main/java/org/hibernate/Session.java @@ -45,17 +45,17 @@ import org.hibernate.stat.SessionStatistics; * flushed to the database. This process of automatic change detection is called * dirty checking and can be expensive in some circumstances. Dirty checking * may be disabled by marking an entity as read-only using - * {@link #setReadOnly(Object, boolean)} or simply by {@link #detach(Object) evicting} + * {@link #setReadOnly(Object, boolean)} or simply by {@linkplain #detach(Object) evicting} * it from the persistence context. A session may be set to load entities as read-only - * {@link #setDefaultReadOnly(boolean) by default}, or this may be controlled at the - * {@link Query#setReadOnly(boolean) query level}. + * {@linkplain #setDefaultReadOnly(boolean) by default}, or this may be controlled at the + * {@linkplain Query#setReadOnly(boolean) query level}. ** The state of a transient or detached instance may be made persistent by copying it to * a persistent instance using {@link #merge(Object)}. All older operations which moved a * detached instance to the persistent state are now deprecated, and clients should now * migrate to the use of {@code merge()}. *
- * From {@link FlushMode time to time}, the session performs a {@link #flush() flushing} + * From {@link FlushMode time to time}, the session performs a {@linkplain #flush() flushing} * operation, and synchronizes state held in memory with persistent state held in the * database by executing SQL {@code insert}, {@code update}, and {@code delete} statements. * Note that SQL statements are often not executed synchronously by the methods of the @@ -603,7 +603,7 @@ public interface Session extends SharedSessionContract, EntityManager { * For entities with a {@link jakarta.persistence.GeneratedValue generated id}, * {@code persist()} ultimately results in generation of an identifier for the * given instance. But this may happen asynchronously, when the session is - * {@link #flush() flushed}, depending on the identifier generation strategy. + * {@linkplain #flush() flushed}, depending on the identifier generation strategy. * * @param object a transient instance to be made persistent */ @@ -617,7 +617,7 @@ public interface Session extends SharedSessionContract, EntityManager { * For entities with a {@link jakarta.persistence.GeneratedValue generated id}, * {@code persist()} ultimately results in generation of an identifier for the * given instance. But this may happen asynchronously, when the session is - * {@link #flush() flushed}, depending on the identifier generation strategy. + * {@linkplain #flush() flushed}, depending on the identifier generation strategy. * * @param entityName the entity name * @param object a transient instance to be made persistent @@ -701,10 +701,10 @@ public interface Session extends SharedSessionContract, EntityManager { *
* Call {@link LockRequest#lock(Object)} to actually obtain the requested lock * on a managed entity instance. @@ -723,8 +723,8 @@ public interface Session extends SharedSessionContract, EntityManager { * from the underlying database. This may be useful: *
Defines contracts for transactional and concurrent access to cached - {@link org.hibernate.cache.spi.access.EntityDataAccess entity} and - {@link org.hibernate.cache.spi.access.CollectionDataAccess collection} data. Transactions pass in a + {@linkplain org.hibernate.cache.spi.access.EntityDataAccess entity} and + {@linkplain org.hibernate.cache.spi.access.CollectionDataAccess collection} data. Transactions pass in a timestamp indicating transaction start time which is then used to protect against concurrent access (exactly how that occurs is based on the actual access-strategy impl used). Two different implementation patterns are provided for: @@ -29,7 +29,7 @@ The asynchronous access strategies are: {@link org.hibernate.cache.spi.access.AccessType#READ_ONLY read-only}, {@link org.hibernate.cache.spi.access.AccessType#READ_WRITE read-write} and {@link org.hibernate.cache.spi.access.AccessType#NONSTRICT_READ_WRITE nonstrict-read-write}. The only - synchronous access strategy is {@link org.hibernate.cache.spi.access.AccessType#TRANSACTIONAL transactional}. + synchronous access strategy is {@linkplain org.hibernate.cache.spi.access.AccessType#TRANSACTIONAL transactional}.
Note that, for an asynchronous cache, cache invalidation must be a two step process (lock->unlock or diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java index f8ac46ae5a..11acf5521b 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java @@ -614,7 +614,7 @@ public class Configuration { /** * Set the current {@link Interceptor} * - * @param interceptor The {@link Interceptor} to use for the {@link #buildSessionFactory built} + * @param interceptor The {@link Interceptor} to use for the {@linkplain #buildSessionFactory built} * {@link SessionFactory}. * * @return this for method chaining diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java index 52e92b1321..b1e5730906 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java @@ -4058,7 +4058,7 @@ public abstract class Dialect implements ConversionContext { /** * Return the name used to identify the given field * as an argument to the {@code extract()} function, - * or of this dialect's {@link #extractPattern equivalent} + * or of this dialect's {@linkplain #extractPattern equivalent} * function. *
* This method does not need to handle @@ -4098,8 +4098,8 @@ public abstract class Dialect implements ConversionContext { * Return the name used to identify the given unit of * duration as an argument to {@code #timestampadd()} * or {@code #timestampdiff()}, or of this dialect's - * {@link #timestampaddPattern equivalent} - * {@link #timestampdiffPattern functions}. + * {@linkplain #timestampaddPattern equivalent} + * {@linkplain #timestampdiffPattern functions}. *
* This method does not need to handle * {@link TemporalUnit#NANOSECOND}, diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/TypeNames.java b/hibernate-core/src/main/java/org/hibernate/dialect/TypeNames.java index 324d0ac5de..8334279607 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/TypeNames.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/TypeNames.java @@ -13,17 +13,18 @@ import java.util.Map; import java.util.TreeMap; /** - * This class maps {@link java.sql.Types JDBC type codes} to SQL type names for - * a {@link Dialect dialect} of SQL. An association between a type code and a - * SQL type name may be {@link #put(int, long, String) registered} with a capacity, - * that is, with the maximum size that the given SQL type can accommodate. - * - * When a type association is {@link #get(int, Long, Integer, Integer)} retrieved} + * This class maintains a mapping of {@linkplain java.sql.Types JDBC type codes} to + * SQL type names for a {@linkplain Dialect dialect} of SQL. An association between a + * type code and a SQL type name may be {@linkplain #put(int, long, String) registered} + * with a capacity, that is, with the maximum size that the given SQL type can + * accommodate. + *
+ * When a type association is {@linkplain #get(int, Long, Integer, Integer) retrieved} * for a given type code and actual size n, {@code get()} will return the associated - * type name with smallest capacity greater than or equal to n, if available, or an + * type name with the smallest capacity greater than or equal to n, if available, or an * unmarked default type otherwise. - * - * For example, setting + *
+ * For example, setting: * *
* names.put( type, "TEXT" ); @@ -40,13 +41,13 @@ import java.util.TreeMap; * names.get( type, 100000 ) // --> "TEXT" (default) ** - * On the other hand, simply putting + * On the other hand, simply putting: * *
* names.put( type, "VARCHAR($l)" ); ** - * would result in + * would result in: * *
* names.get( type ) // --> "VARCHAR($l)" (will cause trouble) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java b/hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java index 65d49a98f1..55161b10f2 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java @@ -38,7 +38,7 @@ import org.hibernate.type.Type; /** * Delegate responsible for, in conjunction with the various - * {@link CascadingAction actions}, implementing cascade processing. + * {@linkplain CascadingAction actions}, implementing cascade processing. * * @author Gavin King * @see CascadingAction diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ClobProxy.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ClobProxy.java index 78d5c2f5c2..4ee5dc3bc0 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ClobProxy.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/ClobProxy.java @@ -19,7 +19,7 @@ import org.hibernate.engine.jdbc.internal.CharacterStreamImpl; import org.hibernate.type.descriptor.java.DataHelper; /** - * Manages aspects of proxying {@link Clob Clobs} for non-contextual creation, including proxy creation and + * Manages aspects of proxying {@link Clob}s for non-contextual creation, including proxy creation and * handling proxy invocations. We use proxies here solely to avoid JDBC version incompatibilities. * * @author Gavin King diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableBlobProxy.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableBlobProxy.java index 3d152dfb8d..bd179800b5 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableBlobProxy.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableBlobProxy.java @@ -16,7 +16,7 @@ import java.sql.Blob; import org.hibernate.HibernateException; /** - * Manages aspects of proxying {@link Blob Blobs} to add serializability. + * Manages aspects of proxying {@link Blob}s to add serializability. * * @author Gavin King * @author Steve Ebersole diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableClobProxy.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableClobProxy.java index c2b8cbb328..fb3e85f84a 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableClobProxy.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/SerializableClobProxy.java @@ -16,7 +16,7 @@ import java.sql.Clob; import org.hibernate.HibernateException; /** - * Manages aspects of proxying {@link Clob Clobs} to add serializability. + * Manages aspects of proxying {@link Clob}s to add serializability. * * @author Gavin King * @author Steve Ebersole diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java index bef49a41ee..5abbdc40f1 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java @@ -70,7 +70,7 @@ public abstract class AbstractBatchImpl implements Batch { /** * Perform batch execution.. * - * This is called from the explicit {@link #execute() execution}, but may also be called from elsewhere + * This is called from the explicit {@linkplain #execute() execution}, but may also be called from elsewhere * depending on the exact implementation. */ protected abstract void doExecuteBatch(); diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java index a9a26fe9cf..3061699505 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java @@ -144,7 +144,7 @@ public class SqlExceptionHelper { // SQLWarning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /** - * Contract for handling {@link SQLWarning warnings} + * Contract for handling {@linkplain SQLWarning warnings} */ public interface WarningHandler { /** @@ -155,7 +155,7 @@ public class SqlExceptionHelper { boolean doProcess(); /** - * Prepare for processing of a {@link SQLWarning warning} stack. + * Prepare for processing of a {@linkplain SQLWarning warning} stack. * * Note that the warning here is also the first passed to {@link #handleWarning} * @@ -172,7 +172,7 @@ public class SqlExceptionHelper { } /** - * Basic support for {@link WarningHandler} implementations which handle {@link SQLWarning warnings} + * Basic support for {@link WarningHandler} implementations which handle {@linkplain SQLWarning warnings} */ public abstract static class WarningHandlerLoggingSupport implements WarningHandler { @Override @@ -184,7 +184,7 @@ public class SqlExceptionHelper { } /** - * Delegate to log common details of a {@link SQLWarning warning} + * Delegate to log common details of a {@linkplain SQLWarning warning} * * @param description A description of the warning * @param message The warning message diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/SynchronizationRegistryImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/SynchronizationRegistryImpl.java index ddddedb5af..e63ff2576c 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/SynchronizationRegistryImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/SynchronizationRegistryImpl.java @@ -15,7 +15,7 @@ import org.hibernate.internal.CoreMessageLogger; import org.jboss.logging.Logger; /** - * Manages a registry of {@link Synchronization Synchronizations}. + * Manages a registry of {@link Synchronization}s. * * @author Steve Ebersole */ diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/spi/SynchronizationRegistry.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/spi/SynchronizationRegistry.java index 72ad587291..c1cfb8c6a6 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/spi/SynchronizationRegistry.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/spi/SynchronizationRegistry.java @@ -10,7 +10,7 @@ import java.io.Serializable; import jakarta.transaction.Synchronization; /** - * Manages a registry of {@link Synchronization Synchronizations}. + * Manages a registry of {@link Synchronization}s. * * @author Steve Ebersole */ @@ -25,14 +25,14 @@ public interface SynchronizationRegistry extends Serializable { public void registerSynchronization(Synchronization synchronization); /** - * Delegate {@link Synchronization#beforeCompletion} calls to the {@link #registerSynchronization registered} - * {@link Synchronization Synchronizations} + * Delegate {@link Synchronization#beforeCompletion} calls to the {@linkplain #registerSynchronization registered} + * {@link Synchronization}s */ void notifySynchronizationsBeforeTransactionCompletion(); /** - * Delegate {@link Synchronization#afterCompletion} calls to {@link #registerSynchronization registered} - * {@link Synchronization Synchronizations} + * Delegate {@link Synchronization#afterCompletion} calls to {@linkplain #registerSynchronization registered} + * {@link Synchronization}s * * @param status The transaction status (if known) per {@link jakarta.transaction.Status} */ diff --git a/hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.java index 8ee2295721..e3cc14afd6 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.java @@ -70,7 +70,7 @@ public class CompositeNestedGeneratedValueGenerator /** * Contract for performing the actual sub-value generation, usually injecting it into the - * determined {@link GenerationContextLocator#locateGenerationContext context} + * determined {@linkplain GenerationContextLocator#locateGenerationContext context} */ public interface GenerationPlan extends ExportableProducer { diff --git a/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorAggregator.java b/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorAggregator.java index 29c5b37197..eecbf5ab24 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorAggregator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorAggregator.java @@ -9,7 +9,7 @@ package org.hibernate.id; import org.hibernate.boot.model.relational.ExportableProducer; /** - * Identifies {@link IdentifierGenerator generators} which potentially aggregate other + * Identifies {@linkplain IdentifierGenerator generators} which potentially aggregate other * {@link PersistentIdentifierGenerator} generators. * * Initially this is limited to {@link CompositeNestedGeneratedValueGenerator} diff --git a/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java b/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java index 8373c96295..f12f0273ab 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java @@ -34,7 +34,7 @@ public final class IdentifierGeneratorHelper { /** * Marker object returned from {@link IdentifierGenerator#generate} to indicate that we should short-circuit any * continued generated id checking. Currently this is only used in the case of the - * {@link ForeignGenerator foreign} generator as a way to signal that we should use the associated + * {@linkplain ForeignGenerator foreign} generator as a way to signal that we should use the associated * entity's id value. */ public static final Serializable SHORT_CIRCUIT_INDICATOR = new Serializable() { @@ -189,7 +189,7 @@ public final class IdentifierGeneratorHelper { * @return The wrapped type. * * @throws IdentifierGenerationException Indicates an unhandled 'clazz'. - * @deprecated Use the {@link #getIntegralDataTypeHolder holders} instead. + * @deprecated Use the {@linkplain #getIntegralDataTypeHolder holders} instead. */ @Deprecated public static Number createNumber(long value, Class clazz) throws IdentifierGenerationException { diff --git a/hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java index 1a1174b25f..72860ae0d1 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java @@ -269,7 +269,7 @@ public class SequenceStyleGenerator * Determine the name of the sequence (or table if this resolves to a physical table) * to use. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @param params The params supplied in the generator config (plus some standard useful extras). * @param dialect The dialect in effect @@ -352,7 +352,7 @@ public class SequenceStyleGenerator * Determine the name of the column used to store the generator value in * the db. * - * Called during {@link #configure configuration} when resolving to a + * Called during {@linkplain #configure configuration} when resolving to a * physical table. * * @param params The params supplied in the generator config (plus some standard useful extras). @@ -370,7 +370,7 @@ public class SequenceStyleGenerator * initializing the {@link #getDatabaseStructure() database structure} * (i.e. sequence/table). * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @param params The params supplied in the generator config (plus some standard useful extras). * @return The initial value @@ -382,9 +382,9 @@ public class SequenceStyleGenerator /** * Determine the increment size to be applied. The exact implications of - * this value depends on the {@link #getOptimizer() optimizer} being used. + * this value depends on the {@linkplain #getOptimizer() optimizer} being used. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @param params The params supplied in the generator config (plus some standard useful extras). * @return The increment size @@ -397,7 +397,7 @@ public class SequenceStyleGenerator /** * Determine the optimizer to use. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @param params The params supplied in the generator config (plus some standard useful extras). * @param incrementSize The {@link #determineIncrementSize determined increment size} diff --git a/hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java index ae8e69309b..df5b9f855b 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java @@ -290,7 +290,7 @@ public class TableGenerator implements PersistentIdentifierGenerator { /** * The amount of increment to use. The exact implications of this - * depends on the {@link #getOptimizer() optimizer} being used. + * depends on the {@linkplain #getOptimizer() optimizer} being used. * * @return The increment amount. */ @@ -366,7 +366,7 @@ public class TableGenerator implements PersistentIdentifierGenerator { /** * Determine the table name to use for the generator values. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @see #getTableName() * @param params The params supplied in the generator config (plus some standard useful extras). @@ -408,7 +408,7 @@ public class TableGenerator implements PersistentIdentifierGenerator { * Determine the name of the column used to indicate the segment for each * row. This column acts as the primary key. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @see #getSegmentColumnName() * @param params The params supplied in the generator config (plus some standard useful extras). @@ -424,7 +424,7 @@ public class TableGenerator implements PersistentIdentifierGenerator { /** * Determine the name of the column in which we will store the generator persistent value. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @see #getValueColumnName() * @param params The params supplied in the generator config (plus some standard useful extras). @@ -440,7 +440,7 @@ public class TableGenerator implements PersistentIdentifierGenerator { /** * Determine the segment value corresponding to this generator instance. * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @see #getSegmentValue() * @param params The params supplied in the generator config (plus some standard useful extras). @@ -473,7 +473,7 @@ public class TableGenerator implements PersistentIdentifierGenerator { /** * Determine the size of the {@link #getSegmentColumnName segment column} * - * Called during {@link #configure configuration}. + * Called during {@linkplain #configure configuration}. * * @see #getSegmentValueLength() * @param params The params supplied in the generator config (plus some standard useful extras). diff --git a/hibernate-core/src/main/java/org/hibernate/id/insert/AbstractSelectingDelegate.java b/hibernate-core/src/main/java/org/hibernate/id/insert/AbstractSelectingDelegate.java index 2aa6f81d7c..c1af5cd4c9 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/insert/AbstractSelectingDelegate.java +++ b/hibernate-core/src/main/java/org/hibernate/id/insert/AbstractSelectingDelegate.java @@ -100,7 +100,7 @@ public abstract class AbstractSelectingDelegate implements InsertGeneratedIdenti * Bind any required parameter values into the SQL command {@link #getSelectSQL}. * * @param session The session - * @param ps The prepared {@link #getSelectSQL SQL} command + * @param ps The prepared {@linkplain #getSelectSQL SQL} command * @param entity The entity being saved. * * @throws SQLException diff --git a/hibernate-core/src/main/java/org/hibernate/integrator/spi/ServiceContributingIntegrator.java b/hibernate-core/src/main/java/org/hibernate/integrator/spi/ServiceContributingIntegrator.java index 07d809ba1b..710ededa28 100644 --- a/hibernate-core/src/main/java/org/hibernate/integrator/spi/ServiceContributingIntegrator.java +++ b/hibernate-core/src/main/java/org/hibernate/integrator/spi/ServiceContributingIntegrator.java @@ -9,8 +9,9 @@ package org.hibernate.integrator.spi; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; /** - * Additional, optional contract for Integrators that wish to contribute {@link org.hibernate.service.Service services} - * to the Hibernate {@link org.hibernate.service.ServiceRegistry}. + * Additional, optional contract for Integrators that wish to contribute + * {@linkplain org.hibernate.service.Service services} to the Hibernate + * {@link org.hibernate.service.ServiceRegistry}. * * @author Steve Ebersole * diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java b/hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java index 95ec97f333..ca9ab0783f 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java @@ -322,8 +322,8 @@ public final class ReflectHelper { } /** - * Retrieve a constructor for the given class, with arguments matching the specified Hibernate mapping - * {@link Type types}. + * Retrieve a constructor for the given class, with arguments matching + * the specified Hibernate mapping {@linkplain Type types}. * * @param clazz The class needing instantiation * @param types The types representing the required ctor param signature diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/ValueHolder.java b/hibernate-core/src/main/java/org/hibernate/internal/util/ValueHolder.java index ee1a61d1a4..15c2f3d761 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/util/ValueHolder.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/util/ValueHolder.java @@ -8,7 +8,7 @@ package org.hibernate.internal.util; /** * Represents a "final" value that is initialized either {@link #ValueHolder(Object) up front} or once at some point - * {@link #ValueHolder(DeferredInitializer) after} declaration. + * {@linkplain #ValueHolder(DeferredInitializer) after} declaration. * * Note: If a Serializable class has a {@link ValueHolder} property, that property should be declared transient! * diff --git a/hibernate-core/src/main/java/org/hibernate/loader/MultipleBagFetchException.java b/hibernate-core/src/main/java/org/hibernate/loader/MultipleBagFetchException.java index cac58f2ce9..7f63cce7a8 100644 --- a/hibernate-core/src/main/java/org/hibernate/loader/MultipleBagFetchException.java +++ b/hibernate-core/src/main/java/org/hibernate/loader/MultipleBagFetchException.java @@ -11,7 +11,7 @@ import org.hibernate.HibernateException; /** * Exception used to indicate that a query is attempting to simultaneously fetch multiple - * {@link org.hibernate.type.BagType bags} + * {@linkplain org.hibernate.type.BagType bags} * * @author Steve Ebersole */ diff --git a/hibernate-core/src/main/java/org/hibernate/proxy/ProxyFactory.java b/hibernate-core/src/main/java/org/hibernate/proxy/ProxyFactory.java index 00a4d3b4d3..03653b5abc 100644 --- a/hibernate-core/src/main/java/org/hibernate/proxy/ProxyFactory.java +++ b/hibernate-core/src/main/java/org/hibernate/proxy/ProxyFactory.java @@ -37,7 +37,7 @@ public interface ProxyFactory { * @param setIdentifierMethod Reference to the identifier setter method; * invocation on this method should not force initialization * @param componentIdType For composite identifier types, a reference to - * the {@link CompositeType type} of the identifier + * the {@linkplain CompositeType type} of the identifier * property; again accessing the id should generally not cause * initialization - but need to bear in mind* mappings. diff --git a/hibernate-core/src/main/java/org/hibernate/query/Query.java b/hibernate-core/src/main/java/org/hibernate/query/Query.java index 9f69e21b85..150660dae2 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/Query.java +++ b/hibernate-core/src/main/java/org/hibernate/query/Query.java @@ -295,7 +295,7 @@ public interface Query extends TypedQuery , CommonQueryContract { * Set the LockMode to use for specific alias (as defined in the query's {@code FROM} clause). * * The alias-specific lock modes specified here are added to the query's internal - * {@link #getLockOptions() LockOptions}. + * {@link #getLockOptions() LockOption}s. *
* The effect of these alias-specific LockModes is somewhat dependent on the driver/database in use. Generally * speaking, for maximum portability, this method should only be used to mark that the rows corresponding to diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectQuery.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectQuery.java index c68ee25b6c..59103163fa 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectQuery.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectQuery.java @@ -11,7 +11,7 @@ import org.hibernate.query.sqm.tree.SqmNode; import org.hibernate.query.sqm.tree.SqmQuery; /** - * Common contract between a {@link SqmSelectStatement root} and a + * Common contract between a {@linkplain SqmSelectStatement root} and a * {@link SqmSubQuery sub-query} * * @author Steve Ebersole diff --git a/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java b/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java index da5e34d782..80c72bed3a 100644 --- a/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java +++ b/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java @@ -7,7 +7,7 @@ package org.hibernate.service; /** - * A registry of {@link Service services}. + * A registry of {@linkplain Service services}. * * @author Steve Ebersole */ diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ScriptTargetOutput.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ScriptTargetOutput.java index a310529fea..390d77a6b4 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ScriptTargetOutput.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ScriptTargetOutput.java @@ -14,7 +14,7 @@ package org.hibernate.tool.schema.spi; */ public interface ScriptTargetOutput { /** - * Prepare the script target to {@link #accept(String) accept} commands + * Prepare the script target to {@linkplain #accept(String) accept} commands */ void prepare(); diff --git a/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizer.java b/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizer.java index 9e27413e7a..5eb7c1ded0 100644 --- a/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizer.java +++ b/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizer.java @@ -57,7 +57,7 @@ public interface EntityTuplizer extends Tuplizer { Object[] getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session); /** - * Get any {@link EntityNameResolver EntityNameResolvers} associated with this {@link Tuplizer}. + * Get any {@link EntityNameResolver}s associated with this {@link Tuplizer}. * * @return The associated resolvers. May be null or empty. */ diff --git a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java index b7dbf35f20..0341664a58 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java +++ b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java @@ -27,7 +27,7 @@ import org.hibernate.type.descriptor.jdbc.JdbcType; /** * Descriptor for {@link Blob} handling. *
- * Note, {@link Blob blobs} really are mutable (their internal state can in fact be mutated). We simply + * Note, {@link Blob}s really are mutable (their internal state can in fact be mutated). We simply * treat them as immutable because we cannot properly check them for changes nor deep copy them. * * @author Steve Ebersole diff --git a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java index 55e6c6ec96..5f7729e89d 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java +++ b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java @@ -29,7 +29,7 @@ import org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry; /** * Descriptor for {@link Clob} handling. * - * Note, {@link Clob clobs} really are mutable (their internal state can in fact be mutated). We simply + * Note, {@link Clob}s really are mutable (their internal state can in fact be mutated). We simply * treat them as immutable because we cannot properly check them for changes nor deep copy them. * * @author Steve Ebersole diff --git a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java index a1ed866dcd..31d1e90698 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java +++ b/hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java @@ -24,7 +24,7 @@ import org.hibernate.type.descriptor.WrapperOptions; /** * Descriptor for {@link NClob} handling. * - * Note, {@link NClob nclobs} really are mutable (their internal state can in fact be mutated). We simply + * Note, {@link NClob}s really are mutable (their internal state can in fact be mutated). We simply * treat them as immutable because we cannot properly check them for changes nor deep copy them. * * @author Steve Ebersole diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/idclassgeneratedvalue/Simple2.java b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/idclassgeneratedvalue/Simple2.java index 9439829755..7080005fcb 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/idclassgeneratedvalue/Simple2.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/idclassgeneratedvalue/Simple2.java @@ -14,7 +14,7 @@ import jakarta.persistence.IdClass; import org.hibernate.annotations.GenericGenerator; /** - * The {@link Simple} entity redone with a generated value {@link #id1} }as part of its + * The {@link Simple} entity redone with a generated value {@link #id1} as part of its * composite pk * * @author Stale W. Pedersen