24

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?

Bob
  • 5,510
  • 9
  • 48
  • 80
artaxerxe
  • 6,281
  • 21
  • 68
  • 106

3 Answers3

24

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:

Bob
  • 5,510
  • 9
  • 48
  • 80
Piotr Nowicki
  • 17,914
  • 8
  • 63
  • 82
7

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

org\hibernate\cfg\Environment.java

in Hibernate distribution.

Javadoc here

Ilya
  • 29,135
  • 19
  • 110
  • 158
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
Cristian
  • 1,338
  • 1
  • 9
  • 12