Skip to content

Commit dbe3c4d

Browse files
committed
add an API note to HibernatePersistenceConfiguration
1 parent 1b3385b commit dbe3c4d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-core/src/main/java/org/hibernate/jpa/HibernatePersistenceConfiguration.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
* Hibernate extension to the Jakarta Persistence {@link PersistenceConfiguration}
3333
* contract.
3434
*
35+
* @apiNote The specification explicitly encourages implementors to extend
36+
* {@link PersistenceConfiguration} to accommodate vendor-specific
37+
* extensions in a more typesafe way. Of course, programs which
38+
* desire configuration logic to be portable between JPA providers
39+
* should use {@code PersistenceConfiguration} directly.
40+
*
3541
* @author Steve Ebersole
3642
*
3743
* @since 7.0

0 commit comments

Comments
 (0)