@@ -157,7 +157,7 @@ public interface SessionBuilder
diff --git a/hibernate-core/src/main/java/org/hibernate/Transaction.java b/hibernate-core/src/main/java/org/hibernate/Transaction.java
index 6ac446908d..971eae41c1 100644
--- a/hibernate-core/src/main/java/org/hibernate/Transaction.java
+++ b/hibernate-core/src/main/java/org/hibernate/Transaction.java
@@ -6,8 +6,8 @@
*/
package org.hibernate;
-import javax.persistence.EntityTransaction;
-import javax.transaction.Synchronization;
+import jakarta.persistence.EntityTransaction;
+import jakarta.transaction.Synchronization;
import org.hibernate.resource.transaction.spi.TransactionStatus;
@@ -17,7 +17,7 @@ import org.hibernate.resource.transaction.spi.TransactionStatus;
* implementation (eg. JTA, JDBC).
*
- * This setting is used when you use {@link javax.persistence.ConstraintMode#PROVIDER_DEFAULT} strategy for foreign key mapping.
+ * This setting is used when you use {@link jakarta.persistence.ConstraintMode#PROVIDER_DEFAULT} strategy for foreign key mapping.
* valid value is {@code CONSTRAINT} and {@code NO_CONSTRAINT}.
*
@@ -2258,7 +2258,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings {
String CREATE_EMPTY_COMPOSITES_ENABLED = "hibernate.create_empty_composites.enabled";
/**
- * Setting that allows access to the underlying {@link org.hibernate.Transaction}, even
+ * Setting that allows access to the underlying {@link Transaction}, even
* when using a JTA since normal JPA operations prohibit this behavior.
*
*
*
*
- * Should only be used to name custom {@link org.hibernate.property.access.spi.PropertyAccessStrategy}. For
- * {@code property/field} access, the JPA {@link javax.persistence.Access} annotation should be preferred
- * using the appropriate {@link javax.persistence.AccessType}. However, if this annotation is used with
+ * Should only be used to name custom {@link PropertyAccessStrategy}. For
+ * {@code property/field} access, the JPA {@link jakarta.persistence.Access} annotation should be preferred
+ * using the appropriate {@link jakarta.persistence.AccessType}. However, if this annotation is used with
* either {@code value="property"} or {@code value="field"}, it will act just as the corresponding usage
- * of {@link javax.persistence.Access}.
+ * of {@link jakarta.persistence.Access}.
*
- * @see org.hibernate.property.access.spi.PropertyAccessStrategy
+ * @see PropertyAccessStrategy
* @see org.hibernate.property.access.spi.PropertyAccessStrategyResolver
*
* @author Steve Ebersole
@@ -44,14 +44,14 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
@Retention(RUNTIME)
public @interface AttributeAccessor {
/**
- * Names the {@link org.hibernate.property.access.spi.PropertyAccessStrategy} strategy.
+ * Names the {@link PropertyAccessStrategy} strategy.
*
* @deprecated use {@link #strategy()}
*/
@Deprecated
String value() default "";
/**
- * A class implementing {@link org.hibernate.property.access.spi.PropertyAccessStrategy}.
+ * A class implementing {@link PropertyAccessStrategy}.
*/
Class extends PropertyAccessStrategy> strategy() default PropertyAccessStrategy.class;
}
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/Cascade.java b/hibernate-core/src/main/java/org/hibernate/annotations/Cascade.java
index 088743b796..6ff5fa2062 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/Cascade.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/Cascade.java
@@ -14,8 +14,8 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Apply a cascade strategy on an association. Used to apply Hibernate specific cascades. For JPA cascading, prefer
- * using {@link javax.persistence.CascadeType} on {@link javax.persistence.OneToOne},
- * {@link javax.persistence.OneToMany}, etc. Hibernate will merge together both sets of cascades.
+ * using {@link jakarta.persistence.CascadeType} on {@link jakarta.persistence.OneToOne},
+ * {@link jakarta.persistence.OneToMany}, etc. Hibernate will merge together both sets of cascades.
*
* @author Emmanuel Bernard
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/CascadeType.java b/hibernate-core/src/main/java/org/hibernate/annotations/CascadeType.java
index b5e873e6e2..910f1a65b7 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/CascadeType.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/CascadeType.java
@@ -16,22 +16,22 @@ public enum CascadeType {
ALL,
/**
- * Corresponds to {@link javax.persistence.CascadeType#PERSIST}.
+ * Corresponds to {@link jakarta.persistence.CascadeType#PERSIST}.
*/
PERSIST,
/**
- * Corresponds to {@link javax.persistence.CascadeType#MERGE}.
+ * Corresponds to {@link jakarta.persistence.CascadeType#MERGE}.
*/
MERGE,
/**
- * Corresponds to {@link javax.persistence.CascadeType#REMOVE}.
+ * Corresponds to {@link jakarta.persistence.CascadeType#REMOVE}.
*/
REMOVE,
/**
- * Corresponds to {@link javax.persistence.CascadeType#REFRESH}.
+ * Corresponds to {@link jakarta.persistence.CascadeType#REFRESH}.
*/
REFRESH,
@@ -64,7 +64,7 @@ public enum CascadeType {
LOCK,
/**
- * Corresponds to {@link javax.persistence.CascadeType#DETACH}.
+ * Corresponds to {@link jakarta.persistence.CascadeType#DETACH}.
*/
DETACH
}
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/CollectionId.java b/hibernate-core/src/main/java/org/hibernate/annotations/CollectionId.java
index 4bdecabe92..96ff35bcd9 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/CollectionId.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/CollectionId.java
@@ -1,41 +1,41 @@
-/*
- * Hibernate, Relational Persistence for Idiomatic Java
- *
- * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
- * See the lgpl.txt file in the root directory or
- *
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/JoinColumnOrFormula.java b/hibernate-core/src/main/java/org/hibernate/annotations/JoinColumnOrFormula.java
index 1a2c832f0e..6b08a774ad 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/JoinColumnOrFormula.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/JoinColumnOrFormula.java
@@ -9,7 +9,7 @@ package org.hibernate.annotations;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
-import javax.persistence.JoinColumn;
+import jakarta.persistence.JoinColumn;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/ListIndexBase.java b/hibernate-core/src/main/java/org/hibernate/annotations/ListIndexBase.java
index 943cdebeda..09253d0080 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/ListIndexBase.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/ListIndexBase.java
@@ -17,9 +17,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
*
* By default list indexes are stored starting at zero.
*
- * Generally used in conjunction with {@link javax.persistence.OrderColumn}.
+ * Generally used in conjunction with {@link jakarta.persistence.OrderColumn}.
*
- * @see javax.persistence.OrderColumn
+ * @see jakarta.persistence.OrderColumn
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/ManyToAny.java b/hibernate-core/src/main/java/org/hibernate/annotations/ManyToAny.java
index aac5ede2d8..d98fac3b6f 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/ManyToAny.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/ManyToAny.java
@@ -7,8 +7,8 @@
package org.hibernate.annotations;
import java.lang.annotation.Retention;
-import javax.persistence.Column;
-import javax.persistence.FetchType;
+import jakarta.persistence.Column;
+import jakarta.persistence.FetchType;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQueries.java b/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQueries.java
index ba48a40523..d54b66a24d 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQueries.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQueries.java
@@ -14,7 +14,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* A grouping of Hibernate-specific {@link NamedNativeQuery} definitions. Effectively extends the named native
- * query definitions made available through {@link javax.persistence.NamedNativeQueries}.
+ * query definitions made available through {@link jakarta.persistence.NamedNativeQueries}.
*
* @author Emmanuel Bernard
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java b/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java
index 1158a031b1..9eec23ef56 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java
@@ -15,7 +15,7 @@ import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
- * Extends {@link javax.persistence.NamedNativeQuery} with Hibernate features.
+ * Extends {@link jakarta.persistence.NamedNativeQuery} with Hibernate features.
*
* @author Emmanuel Bernard
*
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/NamedQueries.java b/hibernate-core/src/main/java/org/hibernate/annotations/NamedQueries.java
index 7b648b7826..99eb8bb1b7 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/NamedQueries.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/NamedQueries.java
@@ -14,7 +14,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* A grouping of Hibernate-specific {@link NamedQuery} definitions. Effectively extends the named query
- * definitions made available through {@link javax.persistence.NamedQueries}.
+ * definitions made available through {@link jakarta.persistence.NamedQueries}.
*
* @author Emmanuel Bernard
* @author Carlos Gonzalez-Cadenas
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java b/hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java
index 850155c4df..95b5b835f8 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java
@@ -15,7 +15,7 @@ import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
- * Extends {@link javax.persistence.NamedQuery} with Hibernate features.
+ * Extends {@link jakarta.persistence.NamedQuery} with Hibernate features.
*
* @author Carlos Gonzalez-Cadenas
*
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/NoAttributeConverter.java b/hibernate-core/src/main/java/org/hibernate/annotations/NoAttributeConverter.java
index 0f5e7886f2..80f7b36f06 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/NoAttributeConverter.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/NoAttributeConverter.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.annotations;
-import javax.persistence.AttributeConverter;
+import jakarta.persistence.AttributeConverter;
/**
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/OptimisticLockType.java b/hibernate-core/src/main/java/org/hibernate/annotations/OptimisticLockType.java
index 731e824822..731a090321 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/OptimisticLockType.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/OptimisticLockType.java
@@ -19,7 +19,7 @@ public enum OptimisticLockType {
/**
* Perform optimistic locking using a dedicated version column.
*
- * @see javax.persistence.Version
+ * @see jakarta.persistence.Version
*/
VERSION,
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/OrderBy.java b/hibernate-core/src/main/java/org/hibernate/annotations/OrderBy.java
index cf930daa3a..4e638a30d8 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/OrderBy.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/OrderBy.java
@@ -15,13 +15,13 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Order a collection using SQL ordering (not HQL ordering).
*
- * Different from {@link javax.persistence.OrderBy} in that this expects SQL fragment, JPA OrderBy expects a
+ * Different from {@link jakarta.persistence.OrderBy} in that this expects SQL fragment, JPA OrderBy expects a
* valid JPQL order-by fragment.
*
* @author Emmanuel Bernard
* @author Steve Ebersole
*
- * @see javax.persistence.OrderBy
+ * @see jakarta.persistence.OrderBy
* @see SortComparator
* @see SortNatural
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/QueryHints.java b/hibernate-core/src/main/java/org/hibernate/annotations/QueryHints.java
index 39166baa23..8b1c49a979 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/QueryHints.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/QueryHints.java
@@ -100,9 +100,9 @@ public class QueryHints {
/**
* Available to apply lock mode to a native SQL query since JPA requires that
- * {@link javax.persistence.Query#setLockMode} throw an IllegalStateException if called for a native query.
+ * {@link jakarta.persistence.Query#setLockMode} throw an IllegalStateException if called for a native query.
*
- * Accepts a {@link javax.persistence.LockModeType} or a {@link org.hibernate.LockMode}
+ * Accepts a {@link jakarta.persistence.LockModeType} or a {@link org.hibernate.LockMode}
*/
public static final String NATIVE_LOCKMODE = "org.hibernate.lockMode";
diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/Source.java b/hibernate-core/src/main/java/org/hibernate/annotations/Source.java
index 51db734f35..1f060e0842 100644
--- a/hibernate-core/src/main/java/org/hibernate/annotations/Source.java
+++ b/hibernate-core/src/main/java/org/hibernate/annotations/Source.java
@@ -14,7 +14,7 @@ import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
- * Optional annotation in conjunction with {@link javax.persistence.Version} and timestamp version properties
+ * Optional annotation in conjunction with {@link jakarta.persistence.Version} and timestamp version properties
* indicating the source of the timestamp value.
*
* @author Hardy Ferentschik
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/AttributeConverterInfo.java b/hibernate-core/src/main/java/org/hibernate/boot/AttributeConverterInfo.java
index 2a0dddb164..6073d9f81e 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/AttributeConverterInfo.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/AttributeConverterInfo.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.boot;
-import javax.persistence.AttributeConverter;
+import jakarta.persistence.AttributeConverter;
import org.hibernate.boot.model.convert.spi.ConverterDescriptor;
import org.hibernate.boot.spi.MetadataBuildingContext;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/Metadata.java b/hibernate-core/src/main/java/org/hibernate/boot/Metadata.java
index 664b9f3cb4..bf4efb38d4 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/Metadata.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/Metadata.java
@@ -40,14 +40,14 @@ import org.hibernate.query.sqm.function.SqmFunctionDescriptor;
*/
public interface Metadata extends Mapping {
/**
- * Get the builder for {@link org.hibernate.SessionFactory} instances based on this metamodel.
+ * Get the builder for {@link SessionFactory} instances based on this metamodel.
*
- * @return The builder for {@link org.hibernate.SessionFactory} instances.
+ * @return The builder for {@link SessionFactory} instances.
*/
SessionFactoryBuilder getSessionFactoryBuilder();
/**
- * Short-hand form of building a {@link org.hibernate.SessionFactory} through the builder without any additional
+ * Short-hand form of building a {@link SessionFactory} through the builder without any additional
* option overrides.
*
* @return THe built SessionFactory.
@@ -55,7 +55,7 @@ public interface Metadata extends Mapping {
SessionFactory buildSessionFactory();
/**
- * Gets the {@link java.util.UUID} for this metamodel.
+ * Gets the {@link UUID} for this metamodel.
*
* @return the UUID.
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/MetadataBuilder.java b/hibernate-core/src/main/java/org/hibernate/boot/MetadataBuilder.java
index 70621d65fa..6f07c374d1 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/MetadataBuilder.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/MetadataBuilder.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.boot;
-import javax.persistence.AttributeConverter;
-import javax.persistence.SharedCacheMode;
+import jakarta.persistence.AttributeConverter;
+import jakarta.persistence.SharedCacheMode;
import org.hibernate.boot.archive.scan.spi.ScanEnvironment;
import org.hibernate.boot.archive.scan.spi.ScanOptions;
@@ -119,7 +119,7 @@ public interface MetadataBuilder {
* @return {@code this}, for method chaining
*
* @see org.hibernate.cfg.AvailableSettings#DEFAULT_CACHE_CONCURRENCY_STRATEGY
- * @see #applySharedCacheMode(javax.persistence.SharedCacheMode)
+ * @see #applySharedCacheMode(jakarta.persistence.SharedCacheMode)
*/
MetadataBuilder applyAccessType(AccessType accessType);
@@ -189,10 +189,10 @@ public interface MetadataBuilder {
/**
* Should we enable support for the "new" (since 3.2) identifier generator mappings for
* handling:
- *
*
* Its default is defined by the {@link org.hibernate.cfg.AvailableSettings#USE_NEW_ID_GENERATOR_MAPPINGS}
@@ -338,7 +338,7 @@ public interface MetadataBuilder {
* Ideally we should avoid accessing ClassLoaders when perform 1st phase of bootstrap. This
* is a ClassLoader that can be used in cases when we have to. IN EE managed environments, this
* is the ClassLoader mandated by
- * {@link javax.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}. This ClassLoader
+ * {@link jakarta.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}. This ClassLoader
* is thrown away by the container afterwards. The idea being that the Class can still be enhanced
* in the application ClassLoader. In other environments, pass a ClassLoader that performs the
* same function if desired.
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/MetadataSources.java b/hibernate-core/src/main/java/org/hibernate/boot/MetadataSources.java
index 7edc26dfa1..b42a84e29b 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/MetadataSources.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/MetadataSources.java
@@ -178,7 +178,7 @@ public class MetadataSources implements Serializable {
*/
private MetadataBuilder getCustomBuilderOrDefault(MetadataBuilderImpl defaultBuilder) {
final ClassLoaderService cls = serviceRegistry.getService( ClassLoaderService.class );
- final java.util.Collection
- *
*
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AbstractConverterDescriptor.java b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AbstractConverterDescriptor.java
index 24d6159298..1df2f073cb 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AbstractConverterDescriptor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AbstractConverterDescriptor.java
@@ -7,8 +7,8 @@
package org.hibernate.boot.model.convert.internal;
import java.util.List;
-import javax.persistence.AttributeConverter;
-import javax.persistence.Converter;
+import jakarta.persistence.AttributeConverter;
+import jakarta.persistence.Converter;
import org.hibernate.AnnotationException;
import org.hibernate.boot.internal.ClassmateContext;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/ClassBasedConverterDescriptor.java b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/ClassBasedConverterDescriptor.java
index 2df2223341..73d2d05a0d 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/ClassBasedConverterDescriptor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/ClassBasedConverterDescriptor.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.boot.model.convert.internal;
-import javax.persistence.AttributeConverter;
+import jakarta.persistence.AttributeConverter;
import org.hibernate.boot.internal.ClassmateContext;
import org.hibernate.boot.model.convert.spi.JpaAttributeConverterCreationContext;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/InstanceBasedConverterDescriptor.java b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/InstanceBasedConverterDescriptor.java
index f391d6a078..f2e9d6ad2c 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/InstanceBasedConverterDescriptor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/InstanceBasedConverterDescriptor.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.boot.model.convert.internal;
-import javax.persistence.AttributeConverter;
+import jakarta.persistence.AttributeConverter;
import org.hibernate.boot.internal.ClassmateContext;
import org.hibernate.boot.model.convert.spi.JpaAttributeConverterCreationContext;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/package-info.java b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/package-info.java
index aa9910407b..4a71715e53 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/package-info.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/package-info.java
@@ -7,7 +7,7 @@
/**
* Package defining boot-time handling of JPA's
- * {@link javax.persistence.AttributeConverter}
+ * {@link jakarta.persistence.AttributeConverter}
*
* The general paradigm is that handling converters is split into a
* boot-time piece and a run-time piece. This package defines the
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/spi/ConverterDescriptor.java b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/spi/ConverterDescriptor.java
index 8bca894438..ce92598779 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/convert/spi/ConverterDescriptor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/convert/spi/ConverterDescriptor.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.boot.model.convert.spi;
-import javax.persistence.AttributeConverter;
+import jakarta.persistence.AttributeConverter;
import org.hibernate.metamodel.model.convert.spi.JpaAttributeConverter;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/EntityNaming.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/EntityNaming.java
index 340f656c82..ef36d878ff 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/EntityNaming.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/EntityNaming.java
@@ -31,7 +31,7 @@ public interface EntityNaming {
public String getEntityName();
/**
- * The JPA-specific entity name. See {@link javax.persistence.Entity#name()} for details.
+ * The JPA-specific entity name. See {@link jakarta.persistence.Entity#name()} for details.
*
* @return The JPA entity name, if one was specified. May return {@code null} if one
* was not explicitly specified.
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitBasicColumnNameSource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitBasicColumnNameSource.java
index a796e38187..b2d1e0ae5d 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitBasicColumnNameSource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitBasicColumnNameSource.java
@@ -13,7 +13,7 @@ import org.hibernate.boot.model.source.spi.AttributePath;
*
* @author Steve Ebersole
*
- * @see javax.persistence.Column
+ * @see jakarta.persistence.Column
*/
public interface ImplicitBasicColumnNameSource extends ImplicitNameSource {
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitCollectionTableNameSource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitCollectionTableNameSource.java
index 14f6e53cff..b12a5da472 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitCollectionTableNameSource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitCollectionTableNameSource.java
@@ -13,7 +13,7 @@ import org.hibernate.boot.model.source.spi.AttributePath;
*
* @author Steve Ebersole
*
- * @see javax.persistence.CollectionTable
+ * @see jakarta.persistence.CollectionTable
*/
public interface ImplicitCollectionTableNameSource extends ImplicitNameSource {
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinColumnNameSource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinColumnNameSource.java
index 0a16ee3fec..40da30c853 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinColumnNameSource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinColumnNameSource.java
@@ -10,11 +10,11 @@ import org.hibernate.boot.model.source.spi.AttributePath;
/**
* Context for determining the implicit name of a "join column" (think
- * {@link javax.persistence.JoinColumn}).
+ * {@link jakarta.persistence.JoinColumn}).
*
* @author Steve Ebersole
*
- * @see javax.persistence.JoinColumn
+ * @see jakarta.persistence.JoinColumn
*/
public interface ImplicitJoinColumnNameSource extends ImplicitNameSource {
public static enum Nature {
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinTableNameSource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinTableNameSource.java
index a2368abe7e..116de065dc 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinTableNameSource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitJoinTableNameSource.java
@@ -13,7 +13,7 @@ import org.hibernate.boot.model.source.spi.AttributePath;
*
* @author Steve Ebersole
*
- * @see javax.persistence.JoinTable
+ * @see jakarta.persistence.JoinTable
*/
public interface ImplicitJoinTableNameSource extends ImplicitNameSource {
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitMapKeyColumnNameSource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitMapKeyColumnNameSource.java
index 7c77c574cd..f06c69e2d0 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitMapKeyColumnNameSource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitMapKeyColumnNameSource.java
@@ -11,13 +11,13 @@ import org.hibernate.boot.model.source.spi.AttributePath;
/**
* Context for determining the implicit name of a column used to back the key
* of a {@link java.util.Map}. This is used for both
- * {@link javax.persistence.MapKeyColumn} and
- * {@link javax.persistence.MapKeyJoinColumn} cases.
+ * {@link jakarta.persistence.MapKeyColumn} and
+ * {@link jakarta.persistence.MapKeyJoinColumn} cases.
*
* @author Steve Ebersole
*
- * @see javax.persistence.MapKeyColumn
- * @see javax.persistence.MapKeyJoinColumn
+ * @see jakarta.persistence.MapKeyColumn
+ * @see jakarta.persistence.MapKeyJoinColumn
*/
public interface ImplicitMapKeyColumnNameSource extends ImplicitNameSource {
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategy.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategy.java
index 57eea2b2be..9e3e9c151b 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategy.java
@@ -18,10 +18,10 @@ package org.hibernate.boot.model.naming;
*
- *
*
* @return The current building context
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java b/hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java
index 3fc7f8c721..bfde63a91a 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java
@@ -10,8 +10,8 @@ import java.io.Serializable;
import java.lang.reflect.Type;
import java.util.function.Function;
import java.util.function.Supplier;
-import javax.persistence.EnumType;
-import javax.persistence.TemporalType;
+import jakarta.persistence.EnumType;
+import jakarta.persistence.TemporalType;
import org.hibernate.MappingException;
import org.hibernate.mapping.BasicValue;
@@ -49,7 +49,7 @@ public class InferredBasicValueResolver {
public static BasicValue.Resolution from(
Function
*
*
* {@link PluralAttributeMapKeySourceEntityAttribute} is only relevant from
- * annotations when using {@link javax.persistence.MapKey}.
+ * annotations when using {@link jakarta.persistence.MapKey}.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java b/hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java
index 0d21c45aed..25d2ce2c1f 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java
@@ -294,7 +294,7 @@ public class HbmResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryReturnType
+ * @see JaxbHbmNativeQueryReturnType
*/
public static class EntityResultDescriptor implements ResultDescriptor, HbmFetchParent {
private final String entityName;
@@ -480,7 +480,7 @@ public class HbmResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryPropertyReturnType
+ * @see JaxbHbmNativeQueryPropertyReturnType
*/
public static class PropertyFetchDescriptor implements HbmFetchDescriptor {
private final HbmFetchParent parent;
@@ -562,7 +562,7 @@ public class HbmResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryJoinReturnType
+ * @see JaxbHbmNativeQueryJoinReturnType
*/
public static class JoinDescriptor implements HbmFetchDescriptor, HbmFetchParent {
private final String ownerTableAlias;
@@ -688,7 +688,7 @@ public class HbmResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryCollectionLoadReturnType
+ * @see JaxbHbmNativeQueryCollectionLoadReturnType
*/
public static class CollectionResultDescriptor implements ResultDescriptor, HbmFetchParent {
private final NavigablePath collectionPath;
@@ -776,7 +776,7 @@ public class HbmResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryScalarReturnType
+ * @see JaxbHbmNativeQueryScalarReturnType
*/
public static class ScalarDescriptor implements ResultDescriptor {
private final String columnName;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/query/NamedHqlQueryDefinition.java b/hibernate-core/src/main/java/org/hibernate/boot/query/NamedHqlQueryDefinition.java
index 2f6f205b7c..f55fa6f070 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/query/NamedHqlQueryDefinition.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/query/NamedHqlQueryDefinition.java
@@ -17,7 +17,7 @@ import org.hibernate.query.hql.spi.NamedHqlQueryMemento;
* Boot-time descriptor of a named HQL query, as defined in
* annotations or xml
*
- * @see javax.persistence.NamedQuery
+ * @see jakarta.persistence.NamedQuery
* @see org.hibernate.annotations.NamedQuery
*
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/query/NamedNativeQueryDefinition.java b/hibernate-core/src/main/java/org/hibernate/boot/query/NamedNativeQueryDefinition.java
index 5f2c2cddca..51347d5905 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/query/NamedNativeQueryDefinition.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/query/NamedNativeQueryDefinition.java
@@ -20,7 +20,7 @@ import org.hibernate.query.sql.spi.NamedNativeQueryMemento;
* Boot-time descriptor of a named native query, as defined in
* annotations or xml
*
- * @see javax.persistence.NamedNativeQuery
+ * @see jakarta.persistence.NamedNativeQuery
* @see org.hibernate.annotations.NamedNativeQuery
*
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/query/NamedProcedureCallDefinition.java b/hibernate-core/src/main/java/org/hibernate/boot/query/NamedProcedureCallDefinition.java
index 595e3c13f6..e905420ebb 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/query/NamedProcedureCallDefinition.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/query/NamedProcedureCallDefinition.java
@@ -13,7 +13,7 @@ import org.hibernate.procedure.spi.NamedCallableQueryMemento;
* Boot-time descriptor of a named procedure/function query, as defined in
* annotations or xml
*
- * @see javax.persistence.NamedStoredProcedureQuery
+ * @see jakarta.persistence.NamedStoredProcedureQuery
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java b/hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java
index d7ac23f427..e04720a77e 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java
@@ -11,11 +11,11 @@ import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
-import javax.persistence.ColumnResult;
-import javax.persistence.ConstructorResult;
-import javax.persistence.EntityResult;
-import javax.persistence.FieldResult;
-import javax.persistence.SqlResultSetMapping;
+import jakarta.persistence.ColumnResult;
+import jakarta.persistence.ConstructorResult;
+import jakarta.persistence.EntityResult;
+import jakarta.persistence.FieldResult;
+import jakarta.persistence.SqlResultSetMapping;
import org.hibernate.LockMode;
import org.hibernate.MappingException;
@@ -135,7 +135,7 @@ public class SqlResultSetMappingDescriptor implements NamedResultSetMappingDescr
/**
- * @see javax.persistence.ColumnResult
+ * @see jakarta.persistence.ColumnResult
*/
private static class JpaColumnResultDescriptor implements ResultDescriptor {
private final ColumnResult columnResult;
@@ -161,7 +161,7 @@ public class SqlResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see javax.persistence.ConstructorResult
+ * @see jakarta.persistence.ConstructorResult
*/
private static class ConstructorResultDescriptor implements ResultDescriptor {
private static class ArgumentDescriptor {
@@ -228,7 +228,7 @@ public class SqlResultSetMappingDescriptor implements NamedResultSetMappingDescr
}
/**
- * @see javax.persistence.EntityResult
+ * @see jakarta.persistence.EntityResult
*/
public static class EntityResultDescriptor implements ResultDescriptor {
@SuppressWarnings( { "FieldCanBeLocal", "FieldMayBeFinal", "unused" } )
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistry.java b/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistry.java
index d91e7a8247..8574fe03f1 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistry.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistry.java
@@ -9,7 +9,7 @@ package org.hibernate.boot.registry;
import org.hibernate.service.ServiceRegistry;
/**
- * Specialization of the {@link org.hibernate.service.ServiceRegistry} contract mainly for type safety.
+ * Specialization of the {@link ServiceRegistry} contract mainly for type safety.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java b/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
index a756631729..0df5ed6246 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
@@ -28,12 +28,12 @@ import org.hibernate.service.internal.ProvidedService;
import org.hibernate.service.spi.ServiceContributor;
/**
- * Builder for standard {@link org.hibernate.service.ServiceRegistry} instances.
+ * Builder for standard {@link ServiceRegistry} instances.
*
* @author Steve Ebersole
*
* @see StandardServiceRegistryImpl
- * @see org.hibernate.boot.registry.BootstrapServiceRegistryBuilder
+ * @see BootstrapServiceRegistryBuilder
*/
public class StandardServiceRegistryBuilder {
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
index a80ef689d6..c624cf73fd 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.boot.spi;
-import javax.persistence.AttributeConverter;
-import javax.persistence.SharedCacheMode;
+import jakarta.persistence.AttributeConverter;
+import jakarta.persistence.SharedCacheMode;
import org.hibernate.boot.CacheRegionDefinition;
import org.hibernate.boot.Metadata;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
index bf959a7f62..2c52169dc2 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
@@ -7,7 +7,7 @@
package org.hibernate.boot.spi;
import java.util.List;
-import javax.persistence.SharedCacheMode;
+import jakarta.persistence.SharedCacheMode;
import org.hibernate.HibernateException;
import org.hibernate.MultiTenancyStrategy;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/BootstrapContext.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/BootstrapContext.java
index 6aec5582b7..c3436a7053 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/BootstrapContext.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/BootstrapContext.java
@@ -9,7 +9,7 @@ package org.hibernate.boot.spi;
import java.util.Collection;
import java.util.Map;
-import javax.xml.bind.JAXBContext;
+import jakarta.xml.bind.JAXBContext;
import javax.xml.stream.XMLInputFactory;
import org.hibernate.Incubating;
@@ -56,7 +56,7 @@ public interface BootstrapContext {
/**
* Access the temporary ClassLoader passed to us as defined by
- * {@link javax.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}, if any.
+ * {@link jakarta.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}, if any.
*
* @return The tempo ClassLoader
*/
@@ -119,7 +119,7 @@ public interface BootstrapContext {
/**
* Access to the Jandex index passed by call to
- * {@link org.hibernate.boot.MetadataBuilder#applyIndexView(org.jboss.jandex.IndexView)}, if any.
+ * {@link org.hibernate.boot.MetadataBuilder#applyIndexView(IndexView)}, if any.
*
* Note that Jandex is currently not used. See https://github.com/hibernate/hibernate-orm/wiki/Roadmap7.0
*
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java
index 44e50cb3ff..27d980a41a 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java
@@ -11,7 +11,7 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.function.Function;
-import javax.persistence.AttributeConverter;
+import jakarta.persistence.AttributeConverter;
import org.hibernate.DuplicateMappingException;
import org.hibernate.HibernateException;
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
index 206c258de2..16625a758a 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
@@ -7,7 +7,7 @@
package org.hibernate.boot.spi;
import java.util.List;
-import javax.persistence.SharedCacheMode;
+import jakarta.persistence.SharedCacheMode;
import org.hibernate.MultiTenancyStrategy;
import org.hibernate.annotations.common.reflection.ReflectionManager;
@@ -66,7 +66,7 @@ public interface MetadataBuildingOptions {
* registered via calls to:true
if this callback class represents callbacks defined within an {@link javax.persistence.EntityListeners entity
+ * @return true
if this callback class represents callbacks defined within an {@link jakarta.persistence.EntityListeners entity
* listener}.
*/
boolean isListener();
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/MapsIdSource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/MapsIdSource.java
index 17e422924b..4e965cb539 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/MapsIdSource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/MapsIdSource.java
@@ -7,13 +7,13 @@
package org.hibernate.boot.model.source.spi;
/**
- * Describes a relationship annotated with {@link javax.persistence.MapsId}
+ * Describes a relationship annotated with {@link jakarta.persistence.MapsId}
*
* @author Steve Ebersole
*/
public interface MapsIdSource {
/**
- * Obtain the {@link javax.persistence.MapsId#value()} naming the attribute
+ * Obtain the {@link jakarta.persistence.MapsId#value()} naming the attribute
* within the EmbeddedId mapped by this relationship.
*
* @return The corresponding id attribute name.
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/Orderable.java b/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/Orderable.java
index 67c1333a07..e08c60b7f6 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/Orderable.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/Orderable.java
@@ -26,7 +26,7 @@ public interface Orderable {
* If the ordering element is not specified, ordering by
* the primary key of the associated entity is assumed
*
- * @see javax.persistence.OrderBy#value()
+ * @see jakarta.persistence.OrderBy#value()
*
* @return The {@code ORDER BY} fragment used during loading this plural attribute from DB.
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/PluralAttributeMapKeySource.java b/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/PluralAttributeMapKeySource.java
index f3c37f7d50..989a7e5cce 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/PluralAttributeMapKeySource.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/PluralAttributeMapKeySource.java
@@ -20,7 +20,7 @@ package org.hibernate.boot.model.source.spi;
*
*
*
* @return The BasicType registrations
@@ -89,7 +89,7 @@ public interface MetadataBuildingOptions {
/**
* Access to the Jandex index passed by call to
- * {@link org.hibernate.boot.MetadataBuilder#applyIndexView(org.jboss.jandex.IndexView)}, if any.
+ * {@link org.hibernate.boot.MetadataBuilder#applyIndexView(IndexView)}, if any.
*
* @return The Jandex index
*
@@ -145,7 +145,7 @@ public interface MetadataBuildingOptions {
/**
* Access the temporary ClassLoader passed to us as defined by
- * {@link javax.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}, if any.
+ * {@link jakarta.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}, if any.
*
* @return The tempo ClassLoader
*
@@ -242,7 +242,7 @@ public interface MetadataBuildingOptions {
/**
* Should we create constraint by default?
*
- * @see javax.persistence.ConstraintMode#PROVIDER_DEFAULT
+ * @see jakarta.persistence.ConstraintMode#PROVIDER_DEFAULT
* @see org.hibernate.cfg.AvailableSettings#DEFAULT_CONSTRAINT_MODE
*
* @return {@code true} if not create constraint by default; {@code false} otherwise.
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataContributor.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataContributor.java
index 0c07666632..bf4d889af8 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataContributor.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataContributor.java
@@ -12,7 +12,7 @@ import org.jboss.jandex.IndexView;
* Contract for contributing to Metadata (InFlightMetadataCollector).
*
* This hook occurs just after all processing of all {@link org.hibernate.boot.MetadataSources},
- * and just before {@link org.hibernate.boot.spi.AdditionalJaxbMappingProducer}.
+ * and just before {@link AdditionalJaxbMappingProducer}.
*
* @author Steve Ebersole
*
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
index 9cf29cba63..553af0e1d4 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
@@ -320,7 +320,7 @@ public interface SessionFactoryOptions extends QueryEngineOptions {
/**
* Controls whether Hibernate should try to map named parameter names
* specified in a {@link org.hibernate.procedure.ProcedureCall} or
- * {@link javax.persistence.StoredProcedureQuery} to named parameters in
+ * {@link jakarta.persistence.StoredProcedureQuery} to named parameters in
* the JDBC {@link java.sql.CallableStatement}.
*
* As JPA is defined, the use of named parameters is essentially of dubious
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/xsd/ConfigXsdSupport.java b/hibernate-core/src/main/java/org/hibernate/boot/xsd/ConfigXsdSupport.java
index d68773b857..166747a122 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/xsd/ConfigXsdSupport.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/xsd/ConfigXsdSupport.java
@@ -6,6 +6,8 @@
*/
package org.hibernate.boot.xsd;
+import org.hibernate.Internal;
+
/**
* Support for XSD handling related to Hibernate's `cfg.xml` and
* JPA's `persistence.xml`.
@@ -16,6 +18,7 @@ package org.hibernate.boot.xsd;
* @author Steve Ebersole
* @author Sanne Grinovero
*/
+@Internal
@SuppressWarnings("unused")
public class ConfigXsdSupport {
@@ -35,6 +38,11 @@ public class ConfigXsdSupport {
return getJPA22();
}
+ public static boolean shouldBeMappedToLatestJpaDescriptor(String uri) {
+ // JPA 1.0 and 2.0 share the same namespace URI
+ return getJPA10().getNamespaceUri().matches( uri );
+ }
+
public XsdDescriptor jpaXsd(String version) {
switch ( version ) {
case "1.0": {
@@ -58,7 +66,7 @@ public class ConfigXsdSupport {
}
}
- public XsdDescriptor cfgXsd() {
+ public static XsdDescriptor cfgXsd() {
final int index = 0;
synchronized ( xsdCache ) {
XsdDescriptor cfgXml = xsdCache[index];
@@ -74,7 +82,7 @@ public class ConfigXsdSupport {
}
}
- private XsdDescriptor getJPA10() {
+ public static XsdDescriptor getJPA10() {
final int index = 1;
synchronized ( xsdCache ) {
XsdDescriptor jpa10 = xsdCache[index];
@@ -90,7 +98,7 @@ public class ConfigXsdSupport {
}
}
- private XsdDescriptor getJPA20() {
+ public static XsdDescriptor getJPA20() {
final int index = 2;
synchronized ( xsdCache ) {
XsdDescriptor jpa20 = xsdCache[index];
@@ -106,7 +114,7 @@ public class ConfigXsdSupport {
}
}
- private XsdDescriptor getJPA21() {
+ public static XsdDescriptor getJPA21() {
final int index = 3;
synchronized ( xsdCache ) {
XsdDescriptor jpa21 = xsdCache[index];
@@ -122,7 +130,7 @@ public class ConfigXsdSupport {
}
}
- private XsdDescriptor getJPA22() {
+ public static XsdDescriptor getJPA22() {
final int index = 4;
synchronized ( xsdCache ) {
XsdDescriptor jpa22 = xsdCache[index];
@@ -138,7 +146,7 @@ public class ConfigXsdSupport {
}
}
- private XsdDescriptor getJPA30() {
+ public static XsdDescriptor getJPA30() {
final int index = 5;
synchronized ( xsdCache ) {
XsdDescriptor jpa30 = xsdCache[index];
diff --git a/hibernate-core/src/main/java/org/hibernate/boot/xsd/MappingXsdSupport.java b/hibernate-core/src/main/java/org/hibernate/boot/xsd/MappingXsdSupport.java
index 0ba5ee2ab8..876b0ef7ae 100644
--- a/hibernate-core/src/main/java/org/hibernate/boot/xsd/MappingXsdSupport.java
+++ b/hibernate-core/src/main/java/org/hibernate/boot/xsd/MappingXsdSupport.java
@@ -6,6 +6,8 @@
*/
package org.hibernate.boot.xsd;
+import org.hibernate.Internal;
+
/**
* Support for XSD handling related to Hibernate's `hbm.xml` and
* JPA's `orm.xml`.
@@ -13,6 +15,7 @@ package org.hibernate.boot.xsd;
* @author Steve Ebersole
*/
@SuppressWarnings("unused")
+@Internal
public class MappingXsdSupport {
/**
@@ -20,50 +23,74 @@ public class MappingXsdSupport {
*/
public static final MappingXsdSupport INSTANCE = new MappingXsdSupport();
- private final XsdDescriptor jpa10 = LocalXsdResolver.buildXsdDescriptor(
+ public static final XsdDescriptor jpa10 = LocalXsdResolver.buildXsdDescriptor(
"org/hibernate/jpa/orm_1_0.xsd",
"1.0",
"http://java.sun.com/xml/ns/persistence/orm"
);
- private final XsdDescriptor jpa20 = LocalXsdResolver.buildXsdDescriptor(
+ public static final XsdDescriptor jpa20 = LocalXsdResolver.buildXsdDescriptor(
"org/hibernate/jpa/orm_2_0.xsd",
"2.0",
"http://java.sun.com/xml/ns/persistence/orm"
);
- private final XsdDescriptor jpa21 = LocalXsdResolver.buildXsdDescriptor(
+ public static final XsdDescriptor jpa21 = LocalXsdResolver.buildXsdDescriptor(
"org/hibernate/jpa/orm_2_1.xsd",
"2.1",
"http://xmlns.jcp.org/xml/ns/persistence/orm"
);
- private final XsdDescriptor jpa22 = LocalXsdResolver.buildXsdDescriptor(
+ public static final XsdDescriptor jpa22 = LocalXsdResolver.buildXsdDescriptor(
"org/hibernate/jpa/orm_2_2.xsd",
"2.2",
"http://xmlns.jcp.org/xml/ns/persistence/orm"
);
- private final XsdDescriptor jpa30 = LocalXsdResolver.buildXsdDescriptor(
+ public static final XsdDescriptor jpa30 = LocalXsdResolver.buildXsdDescriptor(
"org/hibernate/jpa/orm_3_0.xsd",
"3.0",
"https://jakarta.ee/xml/ns/persistence/orm"
);
-
- private final XsdDescriptor hbmXml = LocalXsdResolver.buildXsdDescriptor(
+
+ public static final XsdDescriptor hbmXml = LocalXsdResolver.buildXsdDescriptor(
"org/hibernate/xsd/mapping/legacy-mapping-4.0.xsd",
"4.0",
"http://www.hibernate.org/xsd/orm/hbm"
);
+ public static final XsdDescriptor hibernateMappingXml = LocalXsdResolver.buildXsdDescriptor(
+ "org/hibernate/hibernate-mapping-4.0.xsd",
+ "4.0",
+ "http://www.hibernate.org/xsd/hibernate-mapping"
+ );
+
private MappingXsdSupport() {
//Do not construct new instances
}
- public XsdDescriptor latestJpaDescriptor() {
+ public static XsdDescriptor latestJpaDescriptor() {
return jpa22;
}
+ public static boolean shouldBeMappedToLatestJpaDescriptor(String uri) {
+ // JPA 1.0 and 2.0 share the same namespace URI
+ return jpa10.getNamespaceUri().equals( uri );
+ }
+
+ public static boolean isValidJpaVersion(String version) {
+ switch ( version ) {
+ case "1.0":
+ case "2.0":
+ case "2.1":
+ case "2.2":
+ case "3.0":
+ return true;
+ default:
+ return false;
+ }
+ }
+
public XsdDescriptor jpaXsd(String version) {
switch ( version ) {
case "1.0": {
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/BiDirectionalAssociationHandler.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/BiDirectionalAssociationHandler.java
index 2c27732a7e..7579386afa 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/BiDirectionalAssociationHandler.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/BiDirectionalAssociationHandler.java
@@ -11,12 +11,12 @@ import java.util.Map;
import java.util.Objects;
import java.util.Optional;
-import javax.persistence.Access;
-import javax.persistence.AccessType;
-import javax.persistence.ManyToMany;
-import javax.persistence.ManyToOne;
-import javax.persistence.OneToMany;
-import javax.persistence.OneToOne;
+import jakarta.persistence.Access;
+import jakarta.persistence.AccessType;
+import jakarta.persistence.ManyToMany;
+import jakarta.persistence.ManyToOne;
+import jakarta.persistence.OneToMany;
+import jakarta.persistence.OneToOne;
import net.bytebuddy.utility.OpenedClassReader;
import org.hibernate.bytecode.enhance.internal.bytebuddy.EnhancerImpl.AnnotatedFieldDescription;
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
index d142264bd9..6ea74e6a62 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
@@ -18,9 +18,9 @@ import java.util.List;
import java.util.Map;
import java.util.Optional;
-import javax.persistence.Access;
-import javax.persistence.AccessType;
-import javax.persistence.Transient;
+import jakarta.persistence.Access;
+import jakarta.persistence.AccessType;
+import jakarta.persistence.Transient;
import org.hibernate.bytecode.enhance.internal.tracker.CompositeOwnerTracker;
import org.hibernate.bytecode.enhance.internal.tracker.DirtyTracker;
@@ -359,7 +359,7 @@ public class EnhancerImpl implements Enhancer {
// See HHH-10977 HHH-11284 HHH-11404 --- check for declaration of Managed interface on the class, not inherited
private boolean alreadyEnhanced(TypeDescription managedCtClass) {
- for ( TypeDescription.Generic declaredInterface : managedCtClass.getInterfaces() ) {
+ for ( Generic declaredInterface : managedCtClass.getInterfaces() ) {
if ( declaredInterface.asErasure().isAssignableTo( Managed.class ) ) {
return true;
}
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/FieldAccessEnhancer.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/FieldAccessEnhancer.java
index 7bb0f27e9b..e20d733ddb 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/FieldAccessEnhancer.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/FieldAccessEnhancer.java
@@ -9,7 +9,7 @@ package org.hibernate.bytecode.enhance.internal.bytebuddy;
import static net.bytebuddy.matcher.ElementMatchers.hasDescriptor;
import static net.bytebuddy.matcher.ElementMatchers.named;
-import javax.persistence.Id;
+import jakarta.persistence.Id;
import net.bytebuddy.description.NamedElement;
import net.bytebuddy.description.type.TypeDefinition;
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/InlineDirtyCheckingHandler.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/InlineDirtyCheckingHandler.java
index 1c61641c29..cb9f5b49bc 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/InlineDirtyCheckingHandler.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/InlineDirtyCheckingHandler.java
@@ -9,9 +9,9 @@ package org.hibernate.bytecode.enhance.internal.bytebuddy;
import java.util.Collection;
import java.util.Objects;
-import javax.persistence.Embedded;
-import javax.persistence.EmbeddedId;
-import javax.persistence.Id;
+import jakarta.persistence.Embedded;
+import jakarta.persistence.EmbeddedId;
+import jakarta.persistence.Id;
import org.hibernate.bytecode.enhance.internal.bytebuddy.EnhancerImpl.AnnotatedFieldDescription;
import org.hibernate.bytecode.enhance.spi.EnhancerConstants;
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/PersistentAttributeTransformer.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/PersistentAttributeTransformer.java
index 4ede4c2af9..6d62c10c30 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/PersistentAttributeTransformer.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/PersistentAttributeTransformer.java
@@ -16,7 +16,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
-import javax.persistence.Embedded;
+import jakarta.persistence.Embedded;
import org.hibernate.bytecode.enhance.internal.bytebuddy.EnhancerImpl.AnnotatedFieldDescription;
import org.hibernate.bytecode.enhance.spi.EnhancerConstants;
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/DefaultEnhancementContext.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/DefaultEnhancementContext.java
index 861515bcc4..0feb06c8ca 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/DefaultEnhancementContext.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/DefaultEnhancementContext.java
@@ -6,15 +6,15 @@
*/
package org.hibernate.bytecode.enhance.spi;
-import javax.persistence.Basic;
-import javax.persistence.Convert;
-import javax.persistence.ElementCollection;
-import javax.persistence.Embeddable;
-import javax.persistence.Entity;
-import javax.persistence.ManyToMany;
-import javax.persistence.MappedSuperclass;
-import javax.persistence.OneToMany;
-import javax.persistence.Transient;
+import jakarta.persistence.Basic;
+import jakarta.persistence.Convert;
+import jakarta.persistence.ElementCollection;
+import jakarta.persistence.Embeddable;
+import jakarta.persistence.Entity;
+import jakarta.persistence.ManyToMany;
+import jakarta.persistence.MappedSuperclass;
+import jakarta.persistence.OneToMany;
+import jakarta.persistence.Transient;
/**
* default implementation of EnhancementContext. May be sub-classed as needed.
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancementContext.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancementContext.java
index d9b242728a..f4a2c4ec16 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancementContext.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancementContext.java
@@ -24,7 +24,7 @@ public interface EnhancementContext {
/**
* Obtain access to the ClassLoader that can be used to load Class references. In JPA SPI terms, this
* should be a "temporary class loader" as defined by
- * {@link javax.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}
+ * {@link jakarta.persistence.spi.PersistenceUnitInfo#getNewTempClassLoader()}
*
* @return The class loader that the enhancer can use.
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/LazyPropertyInitializer.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/LazyPropertyInitializer.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/spi/ClassTransformer.java b/hibernate-core/src/main/java/org/hibernate/bytecode/spi/ClassTransformer.java
index 9cd3bbebff..fc18a2ea8c 100644
--- a/hibernate-core/src/main/java/org/hibernate/bytecode/spi/ClassTransformer.java
+++ b/hibernate-core/src/main/java/org/hibernate/bytecode/spi/ClassTransformer.java
@@ -19,7 +19,7 @@ import java.security.ProtectionDomain;
* @author Bill Burke
* @author Emmanuel Bernard
*/
-public interface ClassTransformer extends javax.persistence.spi.ClassTransformer {
+public interface ClassTransformer extends jakarta.persistence.spi.ClassTransformer {
/**
* Invoked when a class is being loaded or redefined to add hooks for persistence bytecode manipulation.
*
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/internal/EnabledCaching.java b/hibernate-core/src/main/java/org/hibernate/cache/internal/EnabledCaching.java
index 025bdf25eb..f491d87bf6 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/internal/EnabledCaching.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/internal/EnabledCaching.java
@@ -14,7 +14,7 @@ import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
-import javax.persistence.PersistenceException;
+import jakarta.persistence.PersistenceException;
import org.hibernate.HibernateException;
import org.hibernate.cache.cfg.spi.CollectionDataCachingConfig;
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/package.html b/hibernate-core/src/main/java/org/hibernate/cache/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/FilterKey.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/FilterKey.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/Region.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/Region.java
index 7ed60687f5..f405649f2a 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/Region.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/Region.java
@@ -47,7 +47,7 @@ public interface Region {
* during {@link org.hibernate.SessionFactory#close()} to give
* the region a chance to cleanup.
*
- * @throws org.hibernate.cache.CacheException Indicates problem shutting down
+ * @throws CacheException Indicates problem shutting down
*/
void destroy() throws CacheException;
}
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/RegionFactory.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/RegionFactory.java
index 0fd21f1fc0..82862bd95e 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/RegionFactory.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/RegionFactory.java
@@ -44,7 +44,7 @@ public interface RegionFactory extends Service, Stoppable {
* @param settings The settings in effect.
* @param configValues The available config values
*
- * @throws org.hibernate.cache.CacheException Indicates problems starting the L2 cache impl;
+ * @throws CacheException Indicates problems starting the L2 cache impl;
* considered as a sign to stop {@link org.hibernate.SessionFactory}
* building.
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/access/CachedDomainDataAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/access/CachedDomainDataAccess.java
index 5aaf7a66d1..c161e6d9f3 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/access/CachedDomainDataAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/access/CachedDomainDataAccess.java
@@ -7,7 +7,7 @@
package org.hibernate.cache.spi.access;
import java.io.Serializable;
-import javax.persistence.Cache;
+import jakarta.persistence.Cache;
import org.hibernate.cache.CacheException;
import org.hibernate.cache.spi.DomainDataRegion;
@@ -190,7 +190,7 @@ public interface CachedDomainDataAccess {
* isolation and/or locking. This behavior is exactly Hibernate legacy behavior, but
* it is also required by JPA - so we cannot remove it.
*
- * Used from JPA's {@link javax.persistence.Cache#evict(Class, Object)}, as well as the
+ * Used from JPA's {@link jakarta.persistence.Cache#evict(Class, Object)}, as well as the
* Hibernate extension {@link org.hibernate.Cache#evictEntityData(Class, Serializable)}
* and {@link org.hibernate.Cache#evictEntityData(String, Serializable)}
*
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/CacheEntryStructure.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/CacheEntryStructure.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/CollectionCacheEntry.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/CollectionCacheEntry.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCacheEntry.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCacheEntry.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCollectionCacheEntry.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCollectionCacheEntry.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredMapCacheEntry.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredMapCacheEntry.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/UnstructuredCacheEntry.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/UnstructuredCacheEntry.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/package.html b/hibernate-core/src/main/java/org/hibernate/cache/spi/entry/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionNonStrictReadWriteAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionNonStrictReadWriteAccess.java
index c5e39b2fff..a5bf9aa7e4 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionNonStrictReadWriteAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionNonStrictReadWriteAccess.java
@@ -15,7 +15,7 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
/**
* Standard support for {@link org.hibernate.cache.spi.access.CollectionDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#NONSTRICT_READ_WRITE} access type.
+ * using the {@link AccessType#NONSTRICT_READ_WRITE} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadOnlyAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadOnlyAccess.java
index bcbc4fe45a..d62441fd42 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadOnlyAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadOnlyAccess.java
@@ -13,7 +13,7 @@ import org.hibernate.cache.spi.access.AccessType;
/**
* Standard support for {@link org.hibernate.cache.spi.access.CollectionDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#READ_ONLY} access type.
+ * using the {@link AccessType#READ_ONLY} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadWriteAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadWriteAccess.java
index d5ec0c7036..c67a024859 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadWriteAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/CollectionReadWriteAccess.java
@@ -19,8 +19,8 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.metamodel.model.domain.NavigableRole;
import org.hibernate.persister.collection.CollectionPersister;
/**
- * Standard support for {@link org.hibernate.cache.spi.access.CollectionDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#READ_WRITE} access type.
+ * Standard support for {@link CollectionDataAccess}
+ * using the {@link AccessType#READ_WRITE} access type.
*
* @author Chris Cranford
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityNonStrictReadWriteAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityNonStrictReadWriteAccess.java
index 1b2f71ba1d..12ac7ffbd0 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityNonStrictReadWriteAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityNonStrictReadWriteAccess.java
@@ -16,7 +16,7 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
/**
* Standard support for {@link org.hibernate.cache.spi.access.EntityDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#NONSTRICT_READ_WRITE} access type.
+ * using the {@link AccessType#NONSTRICT_READ_WRITE} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadOnlyAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadOnlyAccess.java
index a39260fdee..2a61b8f3d7 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadOnlyAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadOnlyAccess.java
@@ -18,7 +18,7 @@ import org.jboss.logging.Logger;
/**
* Standard support for {@link org.hibernate.cache.spi.access.EntityDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#READ_ONLY} access type.
+ * using the {@link AccessType#READ_ONLY} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadWriteAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadWriteAccess.java
index 093426a416..5d3f2e6017 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadWriteAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/EntityReadWriteAccess.java
@@ -19,8 +19,8 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.persister.entity.EntityPersister;
/**
- * Standard support for {@link org.hibernate.cache.spi.access.EntityDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#READ_WRITE} access type.
+ * Standard support for {@link EntityDataAccess}
+ * using the {@link AccessType#READ_WRITE} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdNonStrictReadWriteAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdNonStrictReadWriteAccess.java
index 34bcfd8c5f..c749ae88ff 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdNonStrictReadWriteAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdNonStrictReadWriteAccess.java
@@ -15,7 +15,7 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
/**
* Standard support for {@link org.hibernate.cache.spi.access.NaturalIdDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#NONSTRICT_READ_WRITE} access type.
+ * using the {@link AccessType#NONSTRICT_READ_WRITE} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadOnlyAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadOnlyAccess.java
index e0f6980e0d..f115cfbbeb 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadOnlyAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadOnlyAccess.java
@@ -16,7 +16,7 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
/**
* Standard support for {@link org.hibernate.cache.spi.access.NaturalIdDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#READ_ONLY} access type.
+ * using the {@link AccessType#READ_ONLY} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadWriteAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadWriteAccess.java
index b4f53f4297..eda3f2ffd0 100644
--- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadWriteAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/NaturalIdReadWriteAccess.java
@@ -18,8 +18,8 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.persister.entity.EntityPersister;
/**
- * Standard support for {@link org.hibernate.cache.spi.access.NaturalIdDataAccess}
- * using the {@link org.hibernate.cache.spi.access.AccessType#READ_WRITE} access type.
+ * Standard support for {@link NaturalIdDataAccess}
+ * using the {@link AccessType#READ_WRITE} access type.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/AbstractPropertyHolder.java b/hibernate-core/src/main/java/org/hibernate/cfg/AbstractPropertyHolder.java
index 3880d4ffcc..d3af3f930f 100644
--- a/hibernate-core/src/main/java/org/hibernate/cfg/AbstractPropertyHolder.java
+++ b/hibernate-core/src/main/java/org/hibernate/cfg/AbstractPropertyHolder.java
@@ -11,17 +11,17 @@ import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import javax.persistence.AssociationOverride;
-import javax.persistence.AssociationOverrides;
-import javax.persistence.AttributeOverride;
-import javax.persistence.AttributeOverrides;
-import javax.persistence.Column;
-import javax.persistence.Embeddable;
-import javax.persistence.Entity;
-import javax.persistence.ForeignKey;
-import javax.persistence.JoinColumn;
-import javax.persistence.JoinTable;
-import javax.persistence.MappedSuperclass;
+import jakarta.persistence.AssociationOverride;
+import jakarta.persistence.AssociationOverrides;
+import jakarta.persistence.AttributeOverride;
+import jakarta.persistence.AttributeOverrides;
+import jakarta.persistence.Column;
+import jakarta.persistence.Embeddable;
+import jakarta.persistence.Entity;
+import jakarta.persistence.ForeignKey;
+import jakarta.persistence.JoinColumn;
+import jakarta.persistence.JoinTable;
+import jakarta.persistence.MappedSuperclass;
import org.hibernate.AnnotationException;
import org.hibernate.AssertionFailure;
diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/AccessType.java b/hibernate-core/src/main/java/org/hibernate/cfg/AccessType.java
index 5aad2f6076..8103e31e52 100644
--- a/hibernate-core/src/main/java/org/hibernate/cfg/AccessType.java
+++ b/hibernate-core/src/main/java/org/hibernate/cfg/AccessType.java
@@ -72,11 +72,11 @@ public enum AccessType {
*
* @return The Hibernate AccessType
*/
- public static AccessType getAccessStrategy(javax.persistence.AccessType type) {
- if ( javax.persistence.AccessType.PROPERTY.equals( type ) ) {
+ public static AccessType getAccessStrategy(jakarta.persistence.AccessType type) {
+ if ( jakarta.persistence.AccessType.PROPERTY.equals( type ) ) {
return PROPERTY;
}
- else if ( javax.persistence.AccessType.FIELD.equals( type ) ) {
+ else if ( jakarta.persistence.AccessType.FIELD.equals( type ) ) {
return FIELD;
}
else {
diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java b/hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
index 34b3d531fd..588ead5e82 100644
--- a/hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
+++ b/hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
@@ -18,58 +18,58 @@ import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
-import javax.persistence.AttributeOverride;
-import javax.persistence.AttributeOverrides;
-import javax.persistence.Basic;
-import javax.persistence.CollectionTable;
-import javax.persistence.Column;
-import javax.persistence.ConstraintMode;
-import javax.persistence.DiscriminatorColumn;
-import javax.persistence.DiscriminatorType;
-import javax.persistence.DiscriminatorValue;
-import javax.persistence.ElementCollection;
-import javax.persistence.Embeddable;
-import javax.persistence.Embedded;
-import javax.persistence.EmbeddedId;
-import javax.persistence.Entity;
-import javax.persistence.FetchType;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.IdClass;
-import javax.persistence.Inheritance;
-import javax.persistence.InheritanceType;
-import javax.persistence.JoinColumn;
-import javax.persistence.JoinColumns;
-import javax.persistence.JoinTable;
-import javax.persistence.ManyToMany;
-import javax.persistence.ManyToOne;
-import javax.persistence.MapKey;
-import javax.persistence.MapKeyColumn;
-import javax.persistence.MapKeyJoinColumn;
-import javax.persistence.MapKeyJoinColumns;
-import javax.persistence.MappedSuperclass;
-import javax.persistence.MapsId;
-import javax.persistence.NamedNativeQueries;
-import javax.persistence.NamedNativeQuery;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
-import javax.persistence.NamedStoredProcedureQueries;
-import javax.persistence.NamedStoredProcedureQuery;
-import javax.persistence.OneToMany;
-import javax.persistence.OneToOne;
-import javax.persistence.OrderColumn;
-import javax.persistence.PrimaryKeyJoinColumn;
-import javax.persistence.PrimaryKeyJoinColumns;
-import javax.persistence.SequenceGenerator;
-import javax.persistence.SequenceGenerators;
-import javax.persistence.SharedCacheMode;
-import javax.persistence.SqlResultSetMapping;
-import javax.persistence.SqlResultSetMappings;
-import javax.persistence.Table;
-import javax.persistence.TableGenerator;
-import javax.persistence.TableGenerators;
-import javax.persistence.UniqueConstraint;
-import javax.persistence.Version;
+import jakarta.persistence.AttributeOverride;
+import jakarta.persistence.AttributeOverrides;
+import jakarta.persistence.Basic;
+import jakarta.persistence.CollectionTable;
+import jakarta.persistence.Column;
+import jakarta.persistence.ConstraintMode;
+import jakarta.persistence.DiscriminatorColumn;
+import jakarta.persistence.DiscriminatorType;
+import jakarta.persistence.DiscriminatorValue;
+import jakarta.persistence.ElementCollection;
+import jakarta.persistence.Embeddable;
+import jakarta.persistence.Embedded;
+import jakarta.persistence.EmbeddedId;
+import jakarta.persistence.Entity;
+import jakarta.persistence.FetchType;
+import jakarta.persistence.GeneratedValue;
+import jakarta.persistence.Id;
+import jakarta.persistence.IdClass;
+import jakarta.persistence.Inheritance;
+import jakarta.persistence.InheritanceType;
+import jakarta.persistence.JoinColumn;
+import jakarta.persistence.JoinColumns;
+import jakarta.persistence.JoinTable;
+import jakarta.persistence.ManyToMany;
+import jakarta.persistence.ManyToOne;
+import jakarta.persistence.MapKey;
+import jakarta.persistence.MapKeyColumn;
+import jakarta.persistence.MapKeyJoinColumn;
+import jakarta.persistence.MapKeyJoinColumns;
+import jakarta.persistence.MappedSuperclass;
+import jakarta.persistence.MapsId;
+import jakarta.persistence.NamedNativeQueries;
+import jakarta.persistence.NamedNativeQuery;
+import jakarta.persistence.NamedQueries;
+import jakarta.persistence.NamedQuery;
+import jakarta.persistence.NamedStoredProcedureQueries;
+import jakarta.persistence.NamedStoredProcedureQuery;
+import jakarta.persistence.OneToMany;
+import jakarta.persistence.OneToOne;
+import jakarta.persistence.OrderColumn;
+import jakarta.persistence.PrimaryKeyJoinColumn;
+import jakarta.persistence.PrimaryKeyJoinColumns;
+import jakarta.persistence.SequenceGenerator;
+import jakarta.persistence.SequenceGenerators;
+import jakarta.persistence.SharedCacheMode;
+import jakarta.persistence.SqlResultSetMapping;
+import jakarta.persistence.SqlResultSetMappings;
+import jakarta.persistence.Table;
+import jakarta.persistence.TableGenerator;
+import jakarta.persistence.TableGenerators;
+import jakarta.persistence.UniqueConstraint;
+import jakarta.persistence.Version;
import org.hibernate.AnnotationException;
import org.hibernate.AssertionFailure;
@@ -620,9 +620,9 @@ public final class AnnotationBinder {
String table = ""; //might be no @Table annotation on the annotated class
String catalog = "";
List
- *
- * The default value is {@code true} when the Session is bootstrapped via JPA {@link javax.persistence.EntityManagerFactory}, + * The default value is {@code true} when the Session is bootstrapped via JPA {@link jakarta.persistence.EntityManagerFactory}, * otherwise is {@code false} * */ @@ -2375,8 +2375,8 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { /** * True/false setting indicating whether the value specified for {@link GeneratedValue#generator()} - * should be used as the sequence/table name when no matching {@link javax.persistence.SequenceGenerator} - * or {@link javax.persistence.TableGenerator} is found. + * should be used as the sequence/table name when no matching {@link jakarta.persistence.SequenceGenerator} + * or {@link jakarta.persistence.TableGenerator} is found. * * The default value is `true` meaning that {@link GeneratedValue#generator()} will be used as the * sequence/table name by default. Users migrating from earlier versions using the legacy @@ -2390,7 +2390,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { /** * Should Hibernate's {@link Transaction} behave as - * defined by the spec for JPA's {@link javax.persistence.EntityTransaction} + * defined by the spec for JPA's {@link jakarta.persistence.EntityTransaction} * since it extends the JPA one. * * @see JpaCompliance#isJpaTransactionComplianceEnabled() @@ -2399,10 +2399,10 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { String JPA_TRANSACTION_COMPLIANCE = "hibernate.jpa.compliance.transaction"; /** - * Controls whether Hibernate's handling of {@link javax.persistence.Query} + * Controls whether Hibernate's handling of {@link jakarta.persistence.Query} * (JPQL, Criteria and native-query) should strictly follow the JPA spec. * This includes both in terms of parsing or translating a query as well - * as calls to the {@link javax.persistence.Query} methods throwing spec + * as calls to the {@link jakarta.persistence.Query} methods throwing spec * defined exceptions where as Hibernate might not. * * Deviations result in an exception if enabled @@ -2417,7 +2417,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { * ({@link org.hibernate.collection.internal.PersistentBag}) as a List * ({@link org.hibernate.collection.internal.PersistentList}) or as a bag. * - * If enabled, we will recognize it as a List where {@link javax.persistence.OrderColumn} + * If enabled, we will recognize it as a List where {@link jakarta.persistence.OrderColumn} * is just missing (and its defaults will apply). * * @see JpaCompliance#isJpaListComplianceEnabled() @@ -2430,7 +2430,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { * ({@link org.hibernate.collection.internal.PersistentBag}) as a List * ({@link org.hibernate.collection.internal.PersistentList}) or as a bag. * - * If enabled, we will recognize it as a List where {@link javax.persistence.OrderColumn} + * If enabled, we will recognize it as a List where {@link jakarta.persistence.OrderColumn} * is just missing (and its defaults will apply). * * @see JpaCompliance#isJpaOrderByMappingComplianceEnabled() () @@ -2440,7 +2440,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { /** * JPA defines specific exceptions on specific methods when called on - * {@link javax.persistence.EntityManager} and {@link javax.persistence.EntityManagerFactory} + * {@link jakarta.persistence.EntityManager} and {@link jakarta.persistence.EntityManagerFactory} * when those objects have been closed. This setting controls * whether the spec defined behavior or Hibernate's behavior will be used. * @@ -2453,7 +2453,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { String JPA_CLOSED_COMPLIANCE = "hibernate.jpa.compliance.closed"; /** - * The JPA spec says that a {@link javax.persistence.EntityNotFoundException} + * The JPA spec says that a {@link jakarta.persistence.EntityNotFoundException} * should be thrown when accessing an entity Proxy which does not have an associated * table row in the database. * @@ -2474,7 +2474,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { String JPA_CACHING_COMPLIANCE = "hibernate.jpa.compliance.caching"; /** - * Determine if the scope of {@link javax.persistence.TableGenerator#name()} and {@link javax.persistence.SequenceGenerator#name()} should be + * Determine if the scope of {@link jakarta.persistence.TableGenerator#name()} and {@link jakarta.persistence.SequenceGenerator#name()} should be * considered globally or locally defined. * * If enabled, the names will be considered globally scoped so defining two different generators with the same name @@ -2493,7 +2493,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { String JPA_LOAD_BY_ID_COMPLIANCE = "hibernate.jpa.compliance.load_by_id"; /** - * True/False setting indicating if the value stored in the table used by the {@link javax.persistence.TableGenerator} + * True/False setting indicating if the value stored in the table used by the {@link jakarta.persistence.TableGenerator} * is the last value generated or the next value to be used. * * The default value is true. @@ -2512,7 +2512,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { /** * This setting defines how {@link org.hibernate.annotations.Immutable} entities are handled when executing a - * bulk update {@link javax.persistence.Query}. + * bulk update {@link jakarta.persistence.Query}. * * By default, the ({@link ImmutableEntityUpdateQueryHandlingMode#WARNING}) mode is used, meaning that * a warning log message is issued when an {@link org.hibernate.annotations.Immutable} entity @@ -2526,7 +2526,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { * The default value is {@link ImmutableEntityUpdateQueryHandlingMode#WARNING} * * @since 5.2.17 - * @see org.hibernate.query.ImmutableEntityUpdateQueryHandlingMode + * @see ImmutableEntityUpdateQueryHandlingMode */ String IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE = "hibernate.query.immutable_entity_update_query_handling_mode"; @@ -2577,7 +2577,7 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings { /** *
- * When you use {@link javax.persistence.InheritanceType#JOINED} strategy for inheritance mapping and query + * When you use {@link jakarta.persistence.InheritanceType#JOINED} strategy for inheritance mapping and query * a value from an entity, all superclass tables are joined in the query regardless you need them. With * this setting set to true only superclass tables which are really needed are joined. *
diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java b/hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java index 5b2c8510a4..7a6fcc79a8 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java @@ -17,12 +17,12 @@ import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.StringTokenizer; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Index; -import javax.persistence.SequenceGenerator; -import javax.persistence.TableGenerator; -import javax.persistence.UniqueConstraint; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Index; +import jakarta.persistence.SequenceGenerator; +import jakarta.persistence.TableGenerator; +import jakarta.persistence.UniqueConstraint; import org.hibernate.AnnotationException; import org.hibernate.AssertionFailure; @@ -667,7 +667,7 @@ public class BinderHelper { if ( id.getColumnSpan() == 1 ) { params.setProperty( PersistentIdentifierGenerator.PK, - ( (org.hibernate.mapping.Column) id.getColumnIterator().next() ).getName() + ( (Column) id.getColumnIterator().next() ).getName() ); } // YUCK! but cannot think of a clean way to do this given the string-config based scheme @@ -748,7 +748,7 @@ public class BinderHelper { log.debugf( "Could not resolve explicit IdentifierGeneratorDefinition - using implicit interpretation (%s)", name ); // If we were unable to locate an actual matching named generator assume a sequence/table of the given name. - // this really needs access to the `javax.persistence.GenerationType` to work completely properly + // this really needs access to the `jakarta.persistence.GenerationType` to work completely properly // // (the crux of HHH-12122) @@ -944,7 +944,7 @@ public class BinderHelper { public static Any buildAnyValue( String anyMetaDefName, Ejb3JoinColumn[] columns, - javax.persistence.Column metaColumn, + jakarta.persistence.Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, boolean lazy, @@ -1010,7 +1010,7 @@ public class BinderHelper { } Ejb3Column[] metaColumns = Ejb3Column.buildColumnFromAnnotation( - new javax.persistence.Column[] { metaColumn }, + new jakarta.persistence.Column[] { metaColumn }, null, null, nullability, diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/ClassPropertyHolder.java b/hibernate-core/src/main/java/org/hibernate/cfg/ClassPropertyHolder.java index b7fe6f1dd6..fae00f652a 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/ClassPropertyHolder.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/ClassPropertyHolder.java @@ -8,9 +8,9 @@ package org.hibernate.cfg; import java.util.HashMap; import java.util.Map; -import javax.persistence.Convert; -import javax.persistence.Converts; -import javax.persistence.JoinTable; +import jakarta.persistence.Convert; +import jakarta.persistence.Converts; +import jakarta.persistence.JoinTable; import org.hibernate.AssertionFailure; import org.hibernate.annotations.common.reflection.XClass; @@ -89,9 +89,9 @@ public class ClassPropertyHolder extends AbstractPropertyHolder { // collect superclass info first collectAttributeConversionInfo( infoMap, xClass.getSuperclass() ); - final boolean canContainConvert = xClass.isAnnotationPresent( javax.persistence.Entity.class ) - || xClass.isAnnotationPresent( javax.persistence.MappedSuperclass.class ) - || xClass.isAnnotationPresent( javax.persistence.Embeddable.class ); + final boolean canContainConvert = xClass.isAnnotationPresent( jakarta.persistence.Entity.class ) + || xClass.isAnnotationPresent( jakarta.persistence.MappedSuperclass.class ) + || xClass.isAnnotationPresent( jakarta.persistence.Embeddable.class ); if ( ! canContainConvert ) { return; } diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/CollectionPropertyHolder.java b/hibernate-core/src/main/java/org/hibernate/cfg/CollectionPropertyHolder.java index 0b042afb39..b41d0f269e 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/CollectionPropertyHolder.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/CollectionPropertyHolder.java @@ -9,16 +9,16 @@ package org.hibernate.cfg; import java.util.HashMap; import java.util.Locale; import java.util.Map; -import javax.persistence.Convert; -import javax.persistence.Converts; -import javax.persistence.Enumerated; -import javax.persistence.JoinTable; -import javax.persistence.ManyToMany; -import javax.persistence.MapKeyClass; -import javax.persistence.MapKeyEnumerated; -import javax.persistence.MapKeyTemporal; -import javax.persistence.OneToMany; -import javax.persistence.Temporal; +import jakarta.persistence.Convert; +import jakarta.persistence.Converts; +import jakarta.persistence.Enumerated; +import jakarta.persistence.JoinTable; +import jakarta.persistence.ManyToMany; +import jakarta.persistence.MapKeyClass; +import jakarta.persistence.MapKeyEnumerated; +import jakarta.persistence.MapKeyTemporal; +import jakarta.persistence.OneToMany; +import jakarta.persistence.Temporal; import org.hibernate.AssertionFailure; import org.hibernate.annotations.CollectionType; diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/CollectionSecondPass.java b/hibernate-core/src/main/java/org/hibernate/cfg/CollectionSecondPass.java index 24256e2e37..1187aafa84 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/CollectionSecondPass.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/CollectionSecondPass.java @@ -34,7 +34,7 @@ public abstract class CollectionSecondPass implements SecondPass { Collection collection; private Map localInheritedMetas; - public CollectionSecondPass(MetadataBuildingContext buildingContext, Collection collection, java.util.Map inheritedMetas) { + public CollectionSecondPass(MetadataBuildingContext buildingContext, Collection collection, Map inheritedMetas) { this.collection = collection; this.buildingContext = buildingContext; this.localInheritedMetas = inheritedMetas; @@ -44,7 +44,7 @@ public abstract class CollectionSecondPass implements SecondPass { this( buildingContext, collection, Collections.EMPTY_MAP ); } - public void doSecondPass(java.util.Map persistentClasses) + public void doSecondPass(Map persistentClasses) throws MappingException { if ( LOG.isDebugEnabled() ) { LOG.debugf( "Second pass for collection: %s", collection.getRole() ); @@ -68,7 +68,7 @@ public abstract class CollectionSecondPass implements SecondPass { } } - abstract public void secondPass(java.util.Map persistentClasses, java.util.Map inheritedMetas) + abstract public void secondPass(Map persistentClasses, Map inheritedMetas) throws MappingException; private static String columns(Value val) { diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/ColumnsBuilder.java b/hibernate-core/src/main/java/org/hibernate/cfg/ColumnsBuilder.java index 0feb7cf643..957a348044 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/ColumnsBuilder.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/ColumnsBuilder.java @@ -5,15 +5,15 @@ * See the lgpl.txt file in the root directory or
* {@inheritDoc}
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentList.java b/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentList.java
index f7aaf18aec..dc2e586517 100644
--- a/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentList.java
+++ b/hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentList.java
@@ -24,7 +24,7 @@ import org.hibernate.type.Type;
* A persistent wrapper for a java.util.List. Underlying
* collection is an ArrayList.
*
- * @see java.util.ArrayList
+ * @see ArrayList
* @author Gavin King
*/
public class PersistentList
* Usually 6 (microseconds) or 3 (milliseconds).
@@ -4015,7 +4015,7 @@ public abstract class Dialect implements ConversionContext {
case Types.FLOAT:
case Types.DOUBLE:
case Types.REAL:
- // The given precision and scale are in decimal numbers as per Javadoc of javax.persistence.Column
+ // The given precision and scale are in decimal numbers as per Javadoc of jakarta.persistence.Column
// but the SQL type FLOAT takes the precision in binary digits,
// so we have to calculate the number of binary digits necessary.
// If the precision and a scale are given, we assume the values are given as decimal digits.
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
index b08366306c..aaae5d312c 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
@@ -8,7 +8,7 @@ package org.hibernate.dialect;
import java.sql.Types;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import org.hibernate.query.FetchClauseType;
import org.hibernate.query.NullOrdering;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
index 28cb07cda5..ae5bb28b41 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
@@ -9,7 +9,7 @@ package org.hibernate.dialect;
import java.sql.DatabaseMetaData;
import java.sql.Types;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import org.hibernate.JDBCException;
import org.hibernate.LockMode;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
index f03f3beb2b..27b85a55c4 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
@@ -63,7 +63,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import static org.hibernate.exception.spi.TemplatedViolatedConstraintNameExtractor.extractUsingTemplate;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
index e7242adc0b..794ad19719 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
@@ -69,7 +69,7 @@ import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import static org.hibernate.exception.spi.TemplatedViolatedConstraintNameExtractor.extractUsingTemplate;
import static org.hibernate.query.TemporalUnit.*;
@@ -233,8 +233,8 @@ public class OracleDialect extends Dialect {
/**
- * Oracle doesn't have any sort of {@link java.sql.Types#BOOLEAN}
- * type or {@link java.sql.Types#TIME} type, and its default behavior
+ * Oracle doesn't have any sort of {@link Types#BOOLEAN}
+ * type or {@link Types#TIME} type, and its default behavior
* for casting dates and timestamps to and from strings is just awful.
*/
@Override
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
index 1bbc52901e..4c290671e9 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
@@ -14,7 +14,7 @@ import java.sql.Types;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import org.hibernate.LockMode;
import org.hibernate.LockOptions;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
index d6d3044a2f..8ce9e788df 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
@@ -10,7 +10,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import org.hibernate.dialect.function.CommonFunctionFactory;
import org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
index 66051327ef..362b5a284c 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
@@ -53,7 +53,7 @@ import java.sql.SQLException;
import java.sql.Types;
import java.util.regex.Pattern;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import static java.util.regex.Pattern.compile;
import static org.hibernate.query.TemporalUnit.NANOSECOND;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
index 12ee92e35b..c47e25fb44 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
@@ -42,7 +42,7 @@ import org.hibernate.type.StandardBasicTypes;
import java.sql.Types;
import java.util.Map;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
/**
* Hibernate Dialect implementation for Cloud Spanner.
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
index 33ea682a2d..77e466ce0d 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
@@ -12,7 +12,7 @@ import java.sql.SQLException;
import java.sql.Types;
import java.util.Map;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import org.hibernate.LockOptions;
import org.hibernate.dialect.function.QuantifiedLeastGreatestEmulation;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
index 7e2ead6ae5..d719b532fd 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
@@ -48,7 +48,7 @@ import org.hibernate.type.descriptor.jdbc.spi.JdbcTypeDescriptorRegistry;
import java.sql.DatabaseMetaData;
import java.sql.SQLException;
import java.sql.Types;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
/**
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2FormatEmulation.java b/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2FormatEmulation.java
index dc22286a5f..5a28f0e61a 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2FormatEmulation.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2FormatEmulation.java
@@ -19,7 +19,7 @@ import org.hibernate.type.StandardBasicTypes;
import org.hibernate.type.spi.TypeConfiguration;
import java.util.List;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
/**
* DB2's varchar_format() can't handle quoted literal strings in
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/function/InsertSubstringOverlayEmulation.java b/hibernate-core/src/main/java/org/hibernate/dialect/function/InsertSubstringOverlayEmulation.java
index b5d66c6081..9ae7902bdc 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/function/InsertSubstringOverlayEmulation.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/function/InsertSubstringOverlayEmulation.java
@@ -28,7 +28,7 @@ import org.hibernate.type.spi.TypeConfiguration;
import java.util.List;
-import javax.persistence.criteria.Expression;
+import jakarta.persistence.criteria.Expression;
import static java.util.Arrays.asList;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerFormatEmulation.java b/hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerFormatEmulation.java
index c10e5a09c7..912e386e1e 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerFormatEmulation.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerFormatEmulation.java
@@ -7,7 +7,7 @@
package org.hibernate.dialect.function;
import java.util.List;
-import javax.persistence.TemporalType;
+import jakarta.persistence.TemporalType;
import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor;
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/function/package.html b/hibernate-core/src/main/java/org/hibernate/dialect/function/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/identity/IdentityColumnSupport.java b/hibernate-core/src/main/java/org/hibernate/dialect/identity/IdentityColumnSupport.java
index 99478db072..56753c5390 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/identity/IdentityColumnSupport.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/identity/IdentityColumnSupport.java
@@ -12,7 +12,7 @@ import org.hibernate.id.PostInsertIdentityPersister;
/**
* A set of operations providing support for identity columns
- * in a certain {@link org.hibernate.dialect.Dialect SQL dialect}.
+ * in a certain {@link Dialect SQL dialect}.
*
* @author Andrea Boriero
*
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java b/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java
index a7a1ac8d23..d491f219dc 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java
@@ -35,8 +35,8 @@ import org.hibernate.stat.spi.StatisticsImplementor;
* @author Steve Ebersole
* @author Scott Marlow
*
- * @see org.hibernate.dialect.Dialect#getForUpdateString(org.hibernate.LockMode)
- * @see org.hibernate.dialect.Dialect#appendLockHint(org.hibernate.LockMode, String)
+ * @see org.hibernate.dialect.Dialect#getForUpdateString(LockMode)
+ * @see org.hibernate.dialect.Dialect#appendLockHint(LockMode, String)
*
* @since 3.5
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java b/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java
index 1cca72552f..7d8af219b2 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java
@@ -32,8 +32,8 @@ import org.hibernate.stat.spi.StatisticsImplementor;
*
* This class is a clone of SelectLockingStrategy.
*
- * @see org.hibernate.dialect.Dialect#getForUpdateString(org.hibernate.LockMode)
- * @see org.hibernate.dialect.Dialect#appendLockHint(org.hibernate.LockMode, String)
+ * @see org.hibernate.dialect.Dialect#getForUpdateString(LockMode)
+ * @see org.hibernate.dialect.Dialect#appendLockHint(LockMode, String)
*
* @author Steve Ebersole
* @author Scott Marlow
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java b/hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java
index 4fe8e90b53..ff412454e5 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java
@@ -28,8 +28,8 @@ import org.hibernate.stat.spi.StatisticsImplementor;
* For non-read locks, this is achieved through the Dialect's specific
* SELECT ... FOR UPDATE syntax.
*
- * @see org.hibernate.dialect.Dialect#getForUpdateString(org.hibernate.LockMode)
- * @see org.hibernate.dialect.Dialect#appendLockHint(org.hibernate.LockMode, String)
+ * @see org.hibernate.dialect.Dialect#getForUpdateString(LockMode)
+ * @see org.hibernate.dialect.Dialect#appendLockHint(LockMode, String)
*
* @author Steve Ebersole
* @since 3.2
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/package.html b/hibernate-core/src/main/java/org/hibernate/dialect/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/pagination/AbstractLimitHandler.java b/hibernate-core/src/main/java/org/hibernate/dialect/pagination/AbstractLimitHandler.java
index 8155b19286..044c24e556 100644
--- a/hibernate-core/src/main/java/org/hibernate/dialect/pagination/AbstractLimitHandler.java
+++ b/hibernate-core/src/main/java/org/hibernate/dialect/pagination/AbstractLimitHandler.java
@@ -121,7 +121,7 @@ public abstract class AbstractLimitHandler implements LimitHandler {
* specified in the offset clause?
*
* Representing enum values by their ordinal value is acceptable for our case as this value itself is never
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 5acdec2161..65d49a98f1 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,10 +38,10 @@ import org.hibernate.type.Type;
/**
* Delegate responsible for, in conjunction with the various
- * {@link org.hibernate.engine.spi.CascadingAction actions}, implementing cascade processing.
+ * {@link CascadingAction actions}, implementing cascade processing.
*
* @author Gavin King
- * @see org.hibernate.engine.spi.CascadingAction
+ * @see CascadingAction
*/
public final class Cascade {
private static final CoreMessageLogger LOG = CoreLogging.messageLogger( Cascade.class );
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java b/hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java
index dc1bd577b6..f59b4cad6e 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java
@@ -30,7 +30,7 @@ import java.util.Map;
* the entity->EntityEntry association is maintained in a Map within this class
*
*
* Implementations must delegate to the next state or add it as next state if last in line.
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryFactory.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryFactory.java
index a40e9a7228..e295838f49 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryFactory.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryFactory.java
@@ -12,14 +12,14 @@ import org.hibernate.LockMode;
import org.hibernate.persister.entity.EntityPersister;
/**
- * Contract to build {@link org.hibernate.engine.spi.EntityEntry}
+ * Contract to build {@link EntityEntry}
*
* @author Emmanuel Bernard
*/
public interface EntityEntryFactory extends Serializable {
/**
- * Creates {@link org.hibernate.engine.spi.EntityEntry}.
+ * Creates {@link EntityEntry}.
*/
EntityEntry createEntityEntry(
final Status status,
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityUniqueKey.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityUniqueKey.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/ExecutableList.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/ExecutableList.java
index a68510a85a..88e7d3b0a2 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/ExecutableList.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/ExecutableList.java
@@ -99,7 +99,7 @@ public class ExecutableList
*
- * Generated keys are accessed afterwards via {@link java.sql.PreparedStatement#getGeneratedKeys}
+ * Generated keys are accessed afterwards via {@link PreparedStatement#getGeneratedKeys}
*
* @param sql The INSERT SQL
* @param autoGeneratedKeys The autoGeneratedKeys flag
@@ -63,7 +63,7 @@ public interface StatementPreparer {
/**
* Prepare an INSERT statement, specifying columns which are auto-generated values to be returned.
- * Generated keys are accessed afterwards via {@link java.sql.PreparedStatement#getGeneratedKeys}
+ * Generated keys are accessed afterwards via {@link PreparedStatement#getGeneratedKeys}
*
* @param sql - the SQL for the statement to be prepared
* @param columnNames The name of the columns to be returned in the generated keys result set.
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeInfo.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeInfo.java
index d0a4f94e89..1b0208fee2 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeInfo.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeInfo.java
@@ -17,7 +17,7 @@ import org.hibernate.internal.util.collections.ArrayHelper;
import org.jboss.logging.Logger;
/**
- * Models type info extracted from {@link java.sql.DatabaseMetaData#getTypeInfo()}
+ * Models type info extracted from {@link DatabaseMetaData#getTypeInfo()}
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeSearchability.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeSearchability.java
index 004ad43497..8f2863c2f1 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeSearchability.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/TypeSearchability.java
@@ -16,27 +16,27 @@ import java.sql.DatabaseMetaData;
public enum TypeSearchability {
/**
* Type is not searchable.
- * @see java.sql.DatabaseMetaData#typePredNone
+ * @see DatabaseMetaData#typePredNone
*/
NONE,
/**
* Type is fully searchable
- * @see java.sql.DatabaseMetaData#typeSearchable
+ * @see DatabaseMetaData#typeSearchable
*/
FULL,
/**
* Type is valid only in {@code WHERE ... LIKE}
- * @see java.sql.DatabaseMetaData#typePredChar
+ * @see DatabaseMetaData#typePredChar
*/
CHAR,
/**
* Type is supported only in {@code WHERE ... LIKE}
- * @see java.sql.DatabaseMetaData#typePredBasic
+ * @see DatabaseMetaData#typePredBasic
*/
BASIC;
/**
- * Based on the code retrieved from {@link java.sql.DatabaseMetaData#getTypeInfo()} for the {@code SEARCHABLE}
+ * Based on the code retrieved from {@link DatabaseMetaData#getTypeInfo()} for the {@code SEARCHABLE}
* column, return the appropriate enum.
*
* @param code The retrieved code value.
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/package.html b/hibernate-core/src/main/java/org/hibernate/engine/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
index 54979effdf..2eabcaf88e 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
@@ -423,13 +423,13 @@ public class ActionQueue {
}
/**
- * Throws {@link org.hibernate.PropertyValueException} if there are any unresolved entity insert actions that depend
+ * Throws {@link PropertyValueException} if there are any unresolved entity insert actions that depend
* on non-nullable associations with a transient entity. This method should be called on completion of an operation
* (after all cascades are completed) that saves an entity.
*
- * @throws org.hibernate.PropertyValueException if there are any unresolved entity insert actions;
- * {@link org.hibernate.PropertyValueException#getEntityName()} and
- * {@link org.hibernate.PropertyValueException#getPropertyName()} will return the entity name and property value for
+ * @throws PropertyValueException if there are any unresolved entity insert actions;
+ * {@link PropertyValueException#getEntityName()} and
+ * {@link PropertyValueException#getPropertyName()} will return the entity name and property value for
* the first unresolved entity insert action.
*/
public void checkNoUnresolvedActionsAfterOperation() throws PropertyValueException {
@@ -517,7 +517,7 @@ public class ActionQueue {
}
/**
- * Execute any registered {@link org.hibernate.action.spi.BeforeTransactionCompletionProcess}
+ * Execute any registered {@link BeforeTransactionCompletionProcess}
*/
public void beforeTransactionCompletion() {
if ( !isTransactionCoordinatorShared ) {
@@ -589,7 +589,7 @@ public class ActionQueue {
}
/**
- * Perform {@link org.hibernate.action.spi.Executable#execute()} on each element of the list
+ * Perform {@link Executable#execute()} on each element of the list
*
* @param list The list of Executable elements to be performed
*
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/AssociationKey.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/AssociationKey.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadeStyle.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadeStyle.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingAction.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingAction.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
index 586bf1699a..9639c8d80d 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
@@ -79,7 +79,7 @@ public class CascadingActions {
};
/**
- * @see org.hibernate.Session#lock(Object, org.hibernate.LockMode)
+ * @see org.hibernate.Session#lock(Object, LockMode)
*/
public static final CascadingAction LOCK = new BaseCascadingAction() {
@Override
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java
index cf3d72bd03..bd0910659b 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java
@@ -404,7 +404,7 @@ public final class CollectionEntry implements Serializable {
* Session/PersistenceContext for increased performance.
*
* @param oos The stream to which we should write the serial data.
- * @throws java.io.IOException
+ * @throws IOException
*/
public void serialize(ObjectOutputStream oos) throws IOException {
oos.writeObject( role );
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionKey.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionKey.java
index 31b43335ac..e0da94d94e 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionKey.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionKey.java
@@ -106,7 +106,7 @@ public final class CollectionKey implements Serializable {
*
* @param oos The stream to which we should write the serial data.
*
- * @throws java.io.IOException
+ * @throws IOException
*/
public void serialize(ObjectOutputStream oos) throws IOException {
oos.writeObject( role );
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
index f416daa71c..68aaad467d 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
@@ -132,7 +132,7 @@ public interface EntityEntry {
*
* @param oos The stream to which we should write the serial data.
*
- * @throws java.io.IOException If a stream error occurs
+ * @throws IOException If a stream error occurs
*/
void serialize(ObjectOutputStream oos) throws IOException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryExtraState.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryExtraState.java
index 035349979e..a7da29e0d8 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryExtraState.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryExtraState.java
@@ -8,14 +8,14 @@
package org.hibernate.engine.spi;
/**
- * Navigation methods for extra state objects attached to {@link org.hibernate.engine.spi.EntityEntry}.
+ * Navigation methods for extra state objects attached to {@link EntityEntry}.
*
* @author Emmanuel Bernard
*/
public interface EntityEntryExtraState {
/**
- * Attach additional state to the core state of {@link org.hibernate.engine.spi.EntityEntry}
+ * Attach additional state to the core state of {@link EntityEntry}
*
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
index 3a49952ee7..f67f3109a5 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
@@ -9,8 +9,8 @@ package org.hibernate.engine.spi;
import java.sql.Connection;
import java.util.Set;
import java.util.UUID;
-import javax.persistence.FlushModeType;
-import javax.persistence.TransactionRequiredException;
+import jakarta.persistence.FlushModeType;
+import jakarta.persistence.TransactionRequiredException;
import org.hibernate.CacheMode;
import org.hibernate.FlushMode;
@@ -42,7 +42,7 @@ import org.hibernate.type.spi.TypeConfiguration;
*
* A Session, through this interface and SharedSessionContractImplementor, implements:
*
- * @see javax.persistence.EmbeddedId
+ * @see jakarta.persistence.EmbeddedId
*/
AGGREGATED_COMPOSITE
}
diff --git a/hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
index af035542c7..cfa113856a 100644
--- a/hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
+++ b/hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.id;
-import javax.persistence.GeneratedValue;
+import jakarta.persistence.GeneratedValue;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
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 69828e51bf..76189427b8 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 org.hibernate.id.ForeignGenerator foreign} generator as a way to signal that we should use the associated
+ * {@link 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() {
diff --git a/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentityPersister.java b/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentityPersister.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/id/enhanced/PooledOptimizer.java b/hibernate-core/src/main/java/org/hibernate/id/enhanced/PooledOptimizer.java
index 5b176290b1..74501d8cc9 100644
--- a/hibernate-core/src/main/java/org/hibernate/id/enhanced/PooledOptimizer.java
+++ b/hibernate-core/src/main/java/org/hibernate/id/enhanced/PooledOptimizer.java
@@ -21,7 +21,7 @@ import org.jboss.logging.Logger;
* range in the database.
*
* Note that this optimizer works essentially the same as the
- * {@link org.hibernate.id.enhanced.HiLoOptimizer} except that here the bucket ranges are actually
+ * {@link HiLoOptimizer} except that here the bucket ranges are actually
* encoded into the database structures.
*
* Note if you prefer that the database value be interpreted as the bottom end of our current range,
diff --git a/hibernate-core/src/main/java/org/hibernate/id/package.html b/hibernate-core/src/main/java/org/hibernate/id/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java b/hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
index 32f6b2d5e3..4ec0211e39 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
@@ -13,11 +13,11 @@ import java.sql.SQLException;
import java.util.List;
import java.util.TimeZone;
import java.util.UUID;
-import javax.persistence.FlushModeType;
-import javax.persistence.TransactionRequiredException;
-import javax.persistence.criteria.CriteriaDelete;
-import javax.persistence.criteria.CriteriaQuery;
-import javax.persistence.criteria.CriteriaUpdate;
+import jakarta.persistence.FlushModeType;
+import jakarta.persistence.TransactionRequiredException;
+import jakarta.persistence.criteria.CriteriaDelete;
+import jakarta.persistence.criteria.CriteriaQuery;
+import jakarta.persistence.criteria.CriteriaUpdate;
import org.hibernate.CacheMode;
import org.hibernate.EmptyInterceptor;
@@ -565,7 +565,7 @@ public abstract class AbstractSharedSessionContract implements SharedSessionCont
}
@Override
- public
*
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/SubselectFetch.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/SubselectFetch.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/TypedValue.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/TypedValue.java
index 985949bf68..ad372d03a5 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/spi/TypedValue.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/TypedValue.java
@@ -17,7 +17,7 @@ import org.hibernate.type.Type;
/**
* An ordered pair of a value and its Hibernate type.
*
- * @see org.hibernate.type.Type
+ * @see Type
* @author Gavin King
*/
public final class TypedValue implements Serializable {
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/VersionValue.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/VersionValue.java
old mode 100755
new mode 100644
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 4d555d996e..ddddedb5af 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
@@ -7,7 +7,7 @@
package org.hibernate.engine.transaction.internal;
import java.util.LinkedHashSet;
-import javax.transaction.Synchronization;
+import jakarta.transaction.Synchronization;
import org.hibernate.engine.transaction.spi.SynchronizationRegistry;
import org.hibernate.internal.CoreMessageLogger;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionImpl.java
index 2c688c25bb..483b2bd7d5 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionImpl.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionImpl.java
@@ -6,7 +6,7 @@
*/
package org.hibernate.engine.transaction.internal;
-import javax.transaction.Synchronization;
+import jakarta.transaction.Synchronization;
import org.hibernate.HibernateException;
import org.hibernate.TransactionException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaStatusHelper.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaStatusHelper.java
index f4b7b21d5c..bd5768c1d5 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaStatusHelper.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/jta/JtaStatusHelper.java
@@ -6,10 +6,10 @@
*/
package org.hibernate.engine.transaction.internal.jta;
-import javax.transaction.Status;
-import javax.transaction.SystemException;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.Status;
+import jakarta.transaction.SystemException;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.TransactionException;
@@ -45,7 +45,7 @@ public final class JtaStatusHelper {
}
/**
- * Extract the status code from the current {@link javax.transaction.Transaction} associated with the
+ * Extract the status code from the current {@link jakarta.transaction.Transaction} associated with the
* given {@link TransactionManager}
*
* @param transactionManager The {@link TransactionManager} from which to extract the status.
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AbstractJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AbstractJtaPlatform.java
index 04afb3267e..374428b403 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AbstractJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AbstractJtaPlatform.java
@@ -7,11 +7,11 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.util.Map;
-import javax.transaction.Synchronization;
-import javax.transaction.SystemException;
-import javax.transaction.Transaction;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.Synchronization;
+import jakarta.transaction.SystemException;
+import jakarta.transaction.Transaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.engine.jndi.spi.JndiService;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AtomikosJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AtomikosJtaPlatform.java
index e4e487739b..35b0e04ef7 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AtomikosJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AtomikosJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BitronixJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BitronixJtaPlatform.java
index 5fe7cf7cb7..2b9cd0baa6 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BitronixJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BitronixJtaPlatform.java
@@ -7,8 +7,8 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.lang.reflect.Method;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BorlandEnterpriseServerJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BorlandEnterpriseServerJtaPlatform.java
index 882b2815e6..79bcde1215 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BorlandEnterpriseServerJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BorlandEnterpriseServerJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossAppServerJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossAppServerJtaPlatform.java
index aa9ba67dde..126d98eb5a 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossAppServerJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossAppServerJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.engine.jndi.JndiException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossStandAloneJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossStandAloneJtaPlatform.java
index 1e46283c4d..85de78a5b2 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossStandAloneJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossStandAloneJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOTMJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOTMJtaPlatform.java
index 6456f361b7..8fa1ec33ee 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOTMJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOTMJtaPlatform.java
@@ -7,8 +7,8 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.lang.reflect.Method;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOnASJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOnASJtaPlatform.java
index dea02a1deb..3239514a9d 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOnASJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOnASJtaPlatform.java
@@ -7,8 +7,8 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.lang.reflect.Method;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JRun4JtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JRun4JtaPlatform.java
index 12dc3e249a..ab3eadbf09 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JRun4JtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JRun4JtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for JRun4 AS
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformInitiator.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformInitiator.java
index ee9b808779..1345c133c6 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformInitiator.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformInitiator.java
@@ -19,7 +19,7 @@ import org.hibernate.service.spi.ServiceRegistryImplementor;
import org.jboss.logging.Logger;
/**
- * Standard initiator for the standard {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform}
+ * Standard initiator for the standard {@link JtaPlatform}
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaSynchronizationStrategy.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaSynchronizationStrategy.java
index c84c141e90..8a4eb4b81d 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaSynchronizationStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaSynchronizationStrategy.java
@@ -7,7 +7,7 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.io.Serializable;
-import javax.transaction.Synchronization;
+import jakarta.transaction.Synchronization;
/**
* Contract used to centralize {@link Synchronization} handling logic.
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/NoJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/NoJtaPlatform.java
index 6b0045db94..56e4155b4b 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/NoJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/NoJtaPlatform.java
@@ -6,12 +6,12 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.Status;
-import javax.transaction.Synchronization;
-import javax.transaction.SystemException;
-import javax.transaction.Transaction;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.Status;
+import jakarta.transaction.Synchronization;
+import jakarta.transaction.SystemException;
+import jakarta.transaction.Transaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OC4JJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OC4JJtaPlatform.java
index be24e4c726..515412abf6 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OC4JJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OC4JJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for the OC4J (Oracle) AS.
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OrionJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OrionJtaPlatform.java
index 1918f3b31e..eb739c7c19 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OrionJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/OrionJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for Orion
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/ResinJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/ResinJtaPlatform.java
index 1f2329e271..0ae8e16236 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/ResinJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/ResinJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for Resin
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SapNetWeaverJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SapNetWeaverJtaPlatform.java
index 1fe80f804b..f0519e10d8 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SapNetWeaverJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SapNetWeaverJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for SAP NetWeaver
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SunOneJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SunOneJtaPlatform.java
index 45edee243d..91a439b180 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SunOneJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SunOneJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for Sun ONE Application Server 7 and above
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryAccess.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryAccess.java
index 42e0f9ced3..a90883f556 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryAccess.java
@@ -7,7 +7,7 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.io.Serializable;
-import javax.transaction.TransactionSynchronizationRegistry;
+import jakarta.transaction.TransactionSynchronizationRegistry;
/**
* Provides access to a {@link TransactionSynchronizationRegistry} for use by {@link TransactionSynchronizationRegistry}-based
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryBasedSynchronizationStrategy.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryBasedSynchronizationStrategy.java
index 194bdcb305..d08bd9600a 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryBasedSynchronizationStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/SynchronizationRegistryBasedSynchronizationStrategy.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.Synchronization;
-import javax.transaction.TransactionSynchronizationRegistry;
+import jakarta.transaction.Synchronization;
+import jakarta.transaction.TransactionSynchronizationRegistry;
import org.hibernate.engine.transaction.internal.jta.JtaStatusHelper;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerAccess.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerAccess.java
index b10d79387d..77f03988da 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerAccess.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerAccess.java
@@ -7,7 +7,7 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.io.Serializable;
-import javax.transaction.TransactionManager;
+import jakarta.transaction.TransactionManager;
/**
* Provides access to a {@link TransactionManager} for use by {@link TransactionManager}-based
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerBasedSynchronizationStrategy.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerBasedSynchronizationStrategy.java
index 0e59a7c157..dd7dd6ce66 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerBasedSynchronizationStrategy.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/TransactionManagerBasedSynchronizationStrategy.java
@@ -6,14 +6,14 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.Synchronization;
+import jakarta.transaction.Synchronization;
import org.hibernate.engine.transaction.internal.jta.JtaStatusHelper;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
/**
* Implementation of the {@link JtaSynchronizationStrategy} contract based on using a
- * {@link javax.transaction.TransactionManager}
+ * {@link jakarta.transaction.TransactionManager}
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereExtendedJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereExtendedJtaPlatform.java
index 9b99d03a41..f93386af48 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereExtendedJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereExtendedJtaPlatform.java
@@ -9,14 +9,14 @@ package org.hibernate.engine.transaction.jta.platform.internal;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
-import javax.transaction.NotSupportedException;
-import javax.transaction.RollbackException;
-import javax.transaction.Status;
-import javax.transaction.Synchronization;
-import javax.transaction.SystemException;
-import javax.transaction.Transaction;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.NotSupportedException;
+import jakarta.transaction.RollbackException;
+import jakarta.transaction.Status;
+import jakarta.transaction.Synchronization;
+import jakarta.transaction.SystemException;
+import jakarta.transaction.Transaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import javax.transaction.xa.XAResource;
import org.hibernate.HibernateException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereJtaPlatform.java
index 3f46871676..3066a2f03a 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereJtaPlatform.java
@@ -7,8 +7,8 @@
package org.hibernate.engine.transaction.jta.platform.internal;
import java.lang.reflect.Method;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereLibertyJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereLibertyJtaPlatform.java
index c673317ddf..8ea76dc57c 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereLibertyJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereLibertyJtaPlatform.java
@@ -6,13 +6,13 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.RollbackException;
-import javax.transaction.Status;
-import javax.transaction.Synchronization;
-import javax.transaction.SystemException;
-import javax.transaction.Transaction;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.RollbackException;
+import jakarta.transaction.Status;
+import jakarta.transaction.Synchronization;
+import jakarta.transaction.SystemException;
+import jakarta.transaction.Transaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WeblogicJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WeblogicJtaPlatform.java
index 8ccf093d0b..443f2e8ed7 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WeblogicJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WeblogicJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
/**
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform} implementation for Weblogic
@@ -16,8 +16,8 @@ import javax.transaction.UserTransaction;
* @author Steve Ebersole
*/
public class WeblogicJtaPlatform extends AbstractJtaPlatform {
- public static final String TM_NAME = "javax.transaction.TransactionManager";
- public static final String UT_NAME = "javax.transaction.UserTransaction";
+ public static final String TM_NAME = "jakarta.transaction.TransactionManager";
+ public static final String UT_NAME = "jakarta.transaction.UserTransaction";
@Override
protected TransactionManager locateTransactionManager() {
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WildFlyStandAloneJtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WildFlyStandAloneJtaPlatform.java
index 64e2a80c70..2534b9f666 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WildFlyStandAloneJtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WildFlyStandAloneJtaPlatform.java
@@ -6,8 +6,8 @@
*/
package org.hibernate.engine.transaction.jta.platform.internal;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformException;
diff --git a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/spi/JtaPlatform.java b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/spi/JtaPlatform.java
index e8ad3ccfd7..8cd66da0f2 100644
--- a/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/spi/JtaPlatform.java
+++ b/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/spi/JtaPlatform.java
@@ -6,11 +6,11 @@
*/
package org.hibernate.engine.transaction.jta.platform.spi;
-import javax.transaction.Synchronization;
-import javax.transaction.SystemException;
-import javax.transaction.Transaction;
-import javax.transaction.TransactionManager;
-import javax.transaction.UserTransaction;
+import jakarta.transaction.Synchronization;
+import jakarta.transaction.SystemException;
+import jakarta.transaction.Transaction;
+import jakarta.transaction.TransactionManager;
+import jakarta.transaction.UserTransaction;
import org.hibernate.service.Service;
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 3edecb6858..72ad587291 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
@@ -7,7 +7,7 @@
package org.hibernate.engine.transaction.spi;
import java.io.Serializable;
-import javax.transaction.Synchronization;
+import jakarta.transaction.Synchronization;
/**
* Manages a registry of {@link Synchronization Synchronizations}.
@@ -34,7 +34,7 @@ public interface SynchronizationRegistry extends Serializable {
* Delegate {@link Synchronization#afterCompletion} calls to {@link #registerSynchronization registered}
* {@link Synchronization Synchronizations}
*
- * @param status The transaction status (if known) per {@link javax.transaction.Status}
+ * @param status The transaction status (if known) per {@link jakarta.transaction.Status}
*/
void notifySynchronizationsAfterTransactionCompletion(int status);
}
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultInitializeCollectionEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultInitializeCollectionEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
index 3f5c748049..bd016877bd 100644
--- a/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
+++ b/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
@@ -55,7 +55,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
*/
public void onLoad(
final LoadEvent event,
- final LoadEventListener.LoadType loadType) throws HibernateException {
+ final LoadType loadType) throws HibernateException {
final EntityPersister persister = getPersister( event );
@@ -91,7 +91,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
private void doOnLoad(
final EntityPersister persister,
final LoadEvent event,
- final LoadEventListener.LoadType loadType) {
+ final LoadType loadType) {
try {
final EventSource session = event.getSession();
@@ -120,7 +120,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
private void checkIdClass(
final EntityPersister persister,
final LoadEvent event,
- final LoadEventListener.LoadType loadType,
+ final LoadType loadType,
final Class idClass) {
// we may have the jpa requirement of allowing find-by-id where id is the "simple pk value" of a
// dependent objects parent. This is part of its generally goofy derived identity "feature"
@@ -156,7 +156,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
private void loadByDerivedIdentitySimplePkValue(
LoadEvent event,
- LoadEventListener.LoadType options,
+ LoadType options,
EntityPersister dependentPersister,
// EmbeddedComponentType dependentIdType,
EntityPersister parentPersister) {
@@ -186,7 +186,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
final LoadEvent event,
final EntityPersister persister,
final EntityKey keyToLoad,
- final LoadEventListener.LoadType options) {
+ final LoadType options) {
final EventSource session = event.getSession();
if ( event.getInstanceToLoad() != null ) {
@@ -235,7 +235,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
final LoadEvent event,
final EntityPersister persister,
final EntityKey keyToLoad,
- final LoadEventListener.LoadType options) {
+ final LoadType options) {
final EventSource session = event.getSession();
final SessionFactoryImplementor factory = session.getFactory();
@@ -341,7 +341,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
final LoadEvent event,
final EntityPersister persister,
final EntityKey keyToLoad,
- final LoadEventListener.LoadType options,
+ final LoadType options,
final PersistenceContext persistenceContext,
final Object proxy) {
if ( LOG.isTraceEnabled() ) {
@@ -392,7 +392,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
final LoadEvent event,
final EntityPersister persister,
final EntityKey keyToLoad,
- final LoadEventListener.LoadType options,
+ final LoadType options,
final PersistenceContext persistenceContext) {
Object existing = persistenceContext.getEntity( keyToLoad );
final boolean traceEnabled = LOG.isTraceEnabled();
@@ -444,7 +444,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
final LoadEvent event,
final EntityPersister persister,
final EntityKey keyToLoad,
- final LoadEventListener.LoadType options,
+ final LoadType options,
final SessionImplementor source) {
SoftLock lock = null;
final Object ck;
@@ -494,7 +494,7 @@ public class DefaultLoadEventListener implements LoadEventListener {
final LoadEvent event,
final EntityPersister persister,
final EntityKey keyToLoad,
- final LoadEventListener.LoadType options) {
+ final LoadType options) {
final EventSource session = event.getSession();
final boolean traceEnabled = LOG.isTraceEnabled();
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedLoggedObserver.java b/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedLoggedObserver.java
index 3ae42cdea7..efebf79059 100644
--- a/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedLoggedObserver.java
+++ b/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedLoggedObserver.java
@@ -20,7 +20,7 @@ import org.hibernate.internal.util.collections.IdentitySet;
import org.hibernate.pretty.MessageHelper;
/**
- * An {@link org.hibernate.event.spi.EntityCopyObserver} implementation that allows multiple representations of
+ * An {@link EntityCopyObserver} implementation that allows multiple representations of
* the same persistent entity to be merged and provides logging of the entity copies that
* are detected.
*
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedObserver.java b/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedObserver.java
index 92a26b0e4e..b507701b35 100644
--- a/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedObserver.java
+++ b/hibernate-core/src/main/java/org/hibernate/event/internal/EntityCopyAllowedObserver.java
@@ -11,7 +11,7 @@ import org.hibernate.event.spi.EntityCopyObserverFactory;
import org.hibernate.event.spi.EventSource;
/**
- * An {@link org.hibernate.event.spi.EntityCopyObserver} implementation that allows multiple representations of
+ * An {@link EntityCopyObserver} implementation that allows multiple representations of
* the same persistent entity to be merged.
*
* @author Gail Badner
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java b/hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
index 169c515394..1f99de3394 100644
--- a/hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
+++ b/hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
@@ -25,7 +25,7 @@ import org.jboss.logging.Logger;
* the merge operation has cascaded to that entity.
*
* "Merge entity" and "mergeEntity" method parameter refer to an entity that is (or will be)
- * merged via {@link org.hibernate.event.spi.EventSource#merge(Object mergeEntity)}.
+ * merged via {@link EventSource#merge(Object mergeEntity)}.
*
* "Managed entity" and "managedEntity" method parameter refer to the managed entity that is
* the result of merging an entity.
@@ -37,8 +37,8 @@ import org.jboss.logging.Logger;
* MergeContext already contains an entry with a different entity as the key, but
* with the same (managedEntity) value, this means that multiple entity representations
* for the same persistent entity are being merged. If this happens,
- * {@link org.hibernate.event.spi.EntityCopyObserver#entityCopyDetected(
- * Object managedEntity, Object mergeEntity1, Object mergeEntity2, org.hibernate.event.spi.EventSource)}
+ * {@link EntityCopyObserver#entityCopyDetected(
+ * Object managedEntity, Object mergeEntity1, Object mergeEntity2, EventSource)}
* will be called. It is up to that method to determine the property course of
* action for this situation.
*
@@ -149,7 +149,7 @@ public class MergeContext implements Map {
* Returns an unmodifiable set view of the merge-to-managed entity cross-references contained in this MergeContext.
* @return an unmodifiable set view of the merge-to-managed entity cross-references contained in this MergeContext
*
- * @see Collections#unmodifiableSet(java.util.Set)
+ * @see Collections#unmodifiableSet(Set)
*/
public Set entrySet() {
return Collections.unmodifiableSet( mergeToManagedEntityXref.entrySet() );
@@ -180,7 +180,7 @@ public class MergeContext implements Map {
* Returns an unmodifiable set view of the merge entities contained in this MergeContext
* @return an unmodifiable set view of the merge entities contained in this MergeContext
*
- * @see Collections#unmodifiableSet(java.util.Set)
+ * @see Collections#unmodifiableSet(Set)
*/
public Set keySet() {
return Collections.unmodifiableSet( mergeToManagedEntityXref.keySet() );
@@ -319,7 +319,7 @@ public class MergeContext implements Map {
* Returns an unmodifiable Set view of managed entities contained in this MergeContext.
* @return an unmodifiable Set view of managed entities contained in this MergeContext
*
- * @see Collections#unmodifiableSet(java.util.Set)
+ * @see Collections#unmodifiableSet(Set)
*/
public Collection values() {
return Collections.unmodifiableSet( managedToMergeEntityXref.keySet() );
@@ -367,7 +367,7 @@ public class MergeContext implements Map {
*
* @return an unmodifiable map view of the managed-to-merge entity cross-references.
*
- * @see Collections#unmodifiableMap(java.util.Map)
+ * @see Collections#unmodifiableMap(Map)
*/
public Map invertMap() {
return Collections.unmodifiableMap( managedToMergeEntityXref );
diff --git a/hibernate-core/src/main/java/org/hibernate/event/internal/package.html b/hibernate-core/src/main/java/org/hibernate/event/internal/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/package.html b/hibernate-core/src/main/java/org/hibernate/event/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/EventSource.java b/hibernate-core/src/main/java/org/hibernate/event/spi/EventSource.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/FlushEntityEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/FlushEntityEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/FlushEntityEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/spi/FlushEntityEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/InitializeCollectionEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/InitializeCollectionEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/InitializeCollectionEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/spi/InitializeCollectionEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/MergeEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/MergeEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/MergeEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/spi/MergeEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/PersistEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/PersistEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/PersistEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/spi/PersistEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/PreDeleteEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/PreDeleteEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/PreInsertEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/PreInsertEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/PreUpdateEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/PreUpdateEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/SaveOrUpdateEvent.java b/hibernate-core/src/main/java/org/hibernate/event/spi/SaveOrUpdateEvent.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/event/spi/SaveOrUpdateEventListener.java b/hibernate-core/src/main/java/org/hibernate/event/spi/SaveOrUpdateEventListener.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/exception/DataException.java b/hibernate-core/src/main/java/org/hibernate/exception/DataException.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/exception/package.html b/hibernate-core/src/main/java/org/hibernate/exception/package.html
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConversionDelegate.java b/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConversionDelegate.java
index 94f4029c64..2835606bd3 100644
--- a/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConversionDelegate.java
+++ b/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConversionDelegate.java
@@ -19,7 +19,7 @@ import org.hibernate.JDBCException;
@FunctionalInterface
public interface SQLExceptionConversionDelegate {
/**
- * Convert the given SQLException into the Hibernate {@link org.hibernate.JDBCException} hierarchy.
+ * Convert the given SQLException into the Hibernate {@link JDBCException} hierarchy.
*
* @param sqlException The SQLException to be converted.
* @param message An (optional) error message.
diff --git a/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverter.java b/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverter.java
index 9388863419..4912812fc2 100644
--- a/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverter.java
+++ b/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverter.java
@@ -19,7 +19,7 @@ import org.hibernate.JDBCException;
* Implementations must have a constructor which takes a
* {@link ViolatedConstraintNameExtractor} parameter.
*
- * Implementations may implement {@link org.hibernate.exception.spi.Configurable} if they need to perform
+ * Implementations may implement {@link Configurable} if they need to perform
* configuration steps prior to first use.
*
* @author Steve Ebersole
diff --git a/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverterFactory.java b/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverterFactory.java
index e3667ebdeb..74574e218d 100644
--- a/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverterFactory.java
+++ b/hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConverterFactory.java
@@ -74,7 +74,7 @@ public class SQLExceptionConverterFactory {
/**
* Builds a minimal converter. The instance returned here just always converts to
- * {@link org.hibernate.exception.GenericJDBCException}.
+ * {@link GenericJDBCException}.
*
* @return The minimal converter.
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/graph/AttributeNode.java b/hibernate-core/src/main/java/org/hibernate/graph/AttributeNode.java
index a134df0032..f89de88f81 100644
--- a/hibernate-core/src/main/java/org/hibernate/graph/AttributeNode.java
+++ b/hibernate-core/src/main/java/org/hibernate/graph/AttributeNode.java
@@ -7,7 +7,7 @@
package org.hibernate.graph;
import java.util.Map;
-import javax.persistence.Subgraph;
+import jakarta.persistence.Subgraph;
import org.hibernate.metamodel.model.domain.PersistentAttribute;
@@ -18,7 +18,7 @@ import org.hibernate.metamodel.model.domain.PersistentAttribute;
* @author Steve Ebersole
* @author Andrea Boriero
*/
-public interface AttributeNode
- *
*
* This class is not thread-safe.
@@ -1055,7 +1055,7 @@ public class SessionImpl
}
try {
- final LoadEventListener.LoadType type;
+ final LoadType type;
if ( nullable ) {
type = LoadEventListener.INTERNAL_LOAD_NULLABLE;
}
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
old mode 100755
new mode 100644
index 29542ff0d8..d57a0a6a15
--- a/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
@@ -9,7 +9,7 @@ package org.hibernate.internal;
import java.io.Serializable;
import java.sql.Connection;
import java.util.Set;
-import javax.transaction.SystemException;
+import jakarta.transaction.SystemException;
import org.hibernate.CacheMode;
import org.hibernate.EntityMode;
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/log/DeprecationLogger.java b/hibernate-core/src/main/java/org/hibernate/internal/log/DeprecationLogger.java
index 06e35b1c95..a68da5e809 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/log/DeprecationLogger.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/log/DeprecationLogger.java
@@ -230,7 +230,7 @@ public interface DeprecationLogger extends BasicLogger {
@LogMessage(level = WARN)
@Message(
id = 90000022,
- value = "Hibernate's legacy org.hibernate.Criteria API is deprecated; use the JPA javax.persistence.criteria.CriteriaQuery instead"
+ value = "Hibernate's legacy org.hibernate.Criteria API is deprecated; use the JPA jakarta.persistence.criteria.CriteriaQuery instead"
)
void deprecatedLegacyCriteria();
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/log/UrlMessageBundle.java b/hibernate-core/src/main/java/org/hibernate/internal/log/UrlMessageBundle.java
index e05d34fdf9..944aaa6833 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/log/UrlMessageBundle.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/log/UrlMessageBundle.java
@@ -19,7 +19,7 @@ import org.jboss.logging.annotations.ValidIdRange;
import static org.jboss.logging.Logger.Level.WARN;
/**
- * Acts as the {@link org.jboss.logging.annotations.MessageLogger} and
+ * Acts as the {@link MessageLogger} and
* {@link org.jboss.logging.annotations.MessageBundle} for messages related to
* processing URLs.
*
@@ -37,9 +37,9 @@ public interface UrlMessageBundle {
boolean TRACE_ENABLED = URL_LOGGER.isTraceEnabled();
/**
- * Logs a warning about a malformed URL, caused by a {@link java.net.URISyntaxException}
+ * Logs a warning about a malformed URL, caused by a {@link URISyntaxException}
*
- * @param jarUrl The URL that lead to the {@link java.net.URISyntaxException}
+ * @param jarUrl The URL that lead to the {@link URISyntaxException}
* @param e The underlying URISyntaxException
*/
@LogMessage( level = WARN )
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/Cloneable.java b/hibernate-core/src/main/java/org/hibernate/internal/util/Cloneable.java
old mode 100755
new mode 100644
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/ConfigHelper.java b/hibernate-core/src/main/java/org/hibernate/internal/util/ConfigHelper.java
index 329e3a17e8..4d6e30f043 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/util/ConfigHelper.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/util/ConfigHelper.java
@@ -83,8 +83,8 @@ public final class ConfigHelper {
/**
* Open an InputStream to the URL represented by the incoming path. First makes a call
- * to {@link #locateConfig(java.lang.String)} in order to find an appropriate URL.
- * {@link java.net.URL#openStream()} is then called to obtain the stream.
+ * to {@link #locateConfig(String)} in order to find an appropriate URL.
+ * {@link URL#openStream()} is then called to obtain the stream.
*
* @param path The path representing the config location.
*
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java b/hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java
index 32de511ab8..1c9be2d6f5 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java
@@ -6,14 +6,14 @@
*/
package org.hibernate.internal.util;
-import javax.persistence.LockModeType;
+import jakarta.persistence.LockModeType;
import org.hibernate.AssertionFailure;
import org.hibernate.LockMode;
/**
- * Helper to deal with conversions (both directions) between {@link org.hibernate.LockMode} and
- * {@link javax.persistence.LockModeType}.
+ * Helper to deal with conversions (both directions) between {@link LockMode} and
+ * {@link jakarta.persistence.LockModeType}.
*
* @author Steve Ebersole
*/
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/MarkerObject.java b/hibernate-core/src/main/java/org/hibernate/internal/util/MarkerObject.java
old mode 100755
new mode 100644
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 c358266274..7811e7bdd1 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
@@ -16,7 +16,7 @@ import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.util.Locale;
import java.util.regex.Pattern;
-import javax.persistence.Transient;
+import jakarta.persistence.Transient;
import org.hibernate.AssertionFailure;
import org.hibernate.MappingException;
@@ -173,7 +173,7 @@ public final class ReflectHelper {
*
* @throws ClassNotFoundException From {@link Class#forName(String)}.
*
- * @deprecated Depending on context, either {@link org.hibernate.boot.registry.classloading.spi.ClassLoaderService}
+ * @deprecated Depending on context, either {@link ClassLoaderService}
* or {@link org.hibernate.boot.spi.ClassLoaderAccess} should be preferred
*/
@Deprecated
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/SerializationHelper.java b/hibernate-core/src/main/java/org/hibernate/internal/util/SerializationHelper.java
index a3e4417b4b..60dc5419d7 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/util/SerializationHelper.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/util/SerializationHelper.java
@@ -272,7 +272,7 @@ public final class SerializationHelper {
/**
* Deserializes an object from an array of bytes.
*
- * Delegates to {@link #deserialize(java.io.InputStream, ClassLoader)} using a
+ * Delegates to {@link #deserialize(InputStream, ClassLoader)} using a
* {@link ByteArrayInputStream} to wrap the array.
*
* @param objectData the serialized object, must not be null
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 f124fef985..ee1a61d1a4 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(ValueHolder.DeferredInitializer) after} declaration.
+ * {@link #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/internal/util/collections/ArrayHelper.java b/hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
index 5d95852b5e..2bd13df5d2 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
@@ -112,7 +112,7 @@ public final class ArrayHelper {
}
public static Object[] typecast(Object[] array, Object[] to) {
- return java.util.Arrays.asList( array ).toArray( to );
+ return Arrays.asList( array ).toArray( to );
}
//Arrays.asList doesn't do primitive arrays
@@ -330,7 +330,7 @@ public final class ArrayHelper {
/**
* Compare 2 arrays only at the first level
*
- * @deprecated Use {@link java.util.Arrays#equals(Object[], Object[])} instead
+ * @deprecated Use {@link Arrays#equals(Object[], Object[])} instead
*/
@Deprecated
public static boolean isEquals(Object[] o1, Object[] o2) {
@@ -355,7 +355,7 @@ public final class ArrayHelper {
/**
* Compare 2 arrays only at the first level
*
- * @deprecated Use {@link java.util.Arrays#equals(char[], char[])} instead
+ * @deprecated Use {@link Arrays#equals(char[], char[])} instead
*/
@Deprecated
public static boolean isEquals(char[] o1, char[] o2) {
@@ -380,7 +380,7 @@ public final class ArrayHelper {
/**
* Compare 2 arrays only at the first level
*
- * @deprecated Use {@link java.util.Arrays#equals(byte[], byte[])} instead
+ * @deprecated Use {@link Arrays#equals(byte[], byte[])} instead
*/
@Deprecated
public static boolean isEquals(byte[] b1, byte[] b2) {
diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.java b/hibernate-core/src/main/java/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.java
index bd867246a8..ed1b9870ed 100644
--- a/hibernate-core/src/main/java/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.java
+++ b/hibernate-core/src/main/java/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.java
@@ -170,7 +170,7 @@ public class BoundedConcurrentHashMap
- *
*
* @author Emmanuel Bernard
@@ -54,7 +54,7 @@ public final class PersistenceUtilHelper {
* Return is defined as follows:
*