From 148c41277aeedc03422440c404e49e783411aaad Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Sat, 20 Aug 2016 10:02:40 -0500 Subject: [PATCH] HHH-11058 - NPE in SchemaValidator with DdlTransactionIsolatorJtaImpl (cherry picked from commit 68c62da29e2b93352a92cddbe24285c71da39c49) --- .../resource/transaction/spi/DdlTransactionIsolator.java | 4 ++++ 1 file changed, 4 insertions(+) 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();