Properties reference for hibernate in persistence.xml
Asked Answered
P

3

25

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?

Probst answered 30/11, 2011 at 10:59 Comment(0)
B
25

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:

Barnacle answered 30/11, 2011 at 11:15 Comment(0)
M
7

Full list of properties, that hibernate uses, you can find in class

org\hibernate\cfg\Environment.java

in Hibernate distribution.

Javadoc here

Militia answered 24/7, 2013 at 13:52 Comment(0)
A
0

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
Amend answered 9/5, 2018 at 18:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.