Skip to content

Commit a018ef4

Browse files
committed
improve Javadoc of JTA settings
1 parent 4236a7f commit a018ef4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hibernate-core/src/main/java/org/hibernate/cfg/TransactionSettings.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public interface TransactionSettings {
4646
* <li>the name of a class that implements {@code JtaPlatform}.
4747
* <li>short name of a class (sans package name) that implements {@code JtaPlatform}.
4848
* </ul>
49+
* <p>If not specified, the {@linkplain #JTA_PLATFORM_RESOLVER JTA platform resolver}
50+
* is used to obtain an instance of {@code JtaPlatform}.
4951
*
5052
* @see #JTA_PLATFORM_RESOLVER
5153
*
@@ -58,6 +60,8 @@ public interface TransactionSettings {
5860
* implementation that should be used to obtain an instance of
5961
* {@link org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform}.
6062
*
63+
* @settingDefault {@link org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver}
64+
*
6165
* @since 4.3
6266
*/
6367
String JTA_PLATFORM_RESOLVER = "hibernate.transaction.jta.platform_resolver";

0 commit comments

Comments
 (0)