diff --git a/hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/package-info.java b/hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/package-info.java new file mode 100644 index 0000000000..894b7d136c --- /dev/null +++ b/hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/package-info.java @@ -0,0 +1,16 @@ +/* + * 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 . + */ + +/** + * Implementations of {@link org.hibernate.resource.transaction.spi.TransactionCoordinator} + * based on JTA. + *

+ * The {@link org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionAdapter} + * abstracts over access to JTA via {@link jakarta.transaction.UserTransaction} or via + * {@link jakarta.transaction.TransactionManager}. + */ +package org.hibernate.resource.transaction.backend.jta.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/package-info.java b/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/package-info.java index 6439b3b771..cb1bcf0f36 100644 --- a/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/package-info.java +++ b/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/package-info.java @@ -7,5 +7,8 @@ /** * Extended SPI contracts for the resource-level transaction capabilities of Hibernate. + * Underlies the {@link org.hibernate.Transaction} API. + * + * @see org.hibernate.resource.transaction.spi.TransactionCoordinator */ package org.hibernate.resource.transaction.spi;