Properties reference for hibernate in persistence.xml
-
26-10-2019 - |
Question
Does anyone know a link, post, book or something else where are explained and nominalized all properties that you need and can use in persistence.xml file?
Solution
The JPA 2.0 supported properties (javax.persistence.*
) can be found in JPA 2.0 specification.
Vendor-specific properties can be found in appropriate vendor documentation:
OTHER TIPS
Full list of properties, that hibernate uses, you can find in class
org\hibernate\cfg\Environment.java
in Hibernate
distribution.
I think there are actually 2 sources:
org.hibernate.jpa.AvailableSettings
. Cf. javadoc: "Defines the available HEM settings, both JPA-defined as well as Hibernate-specific. NOTE : Does not include {@link org.hibernate.cfg.Environment} values."org.hibernate.cfg.Environment
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow