diff --git a/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/DdlTransactionIsolator.java b/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/DdlTransactionIsolator.java index b5173d8705..c5b32acc88 100644 --- a/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/DdlTransactionIsolator.java +++ b/hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/DdlTransactionIsolator.java @@ -24,6 +24,10 @@ public interface DdlTransactionIsolator { * In general a DdlTransactionIsolator should be returned from * {@link TransactionCoordinatorBuilder#buildDdlTransactionIsolator} * already prepared for use (until {@link #release} is called). + * + * @deprecated Instances should be returned from + * {@link TransactionCoordinatorBuilder#buildDdlTransactionIsolator} + * already prepared for use */ @Deprecated void prepare();