artaxerxe
artaxerxe

Reputation: 6411

Properties reference for hibernate in persistence.xml

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?

Upvotes: 25

Views: 40011

Answers (3)

Ilya
Ilya

Reputation: 29673

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

org\hibernate\cfg\Environment.java

in Hibernate distribution.

Javadoc here

Upvotes: 7

Cristian
Cristian

Reputation: 1458

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

Upvotes: 0

Piotr Nowicki
Piotr Nowicki

Reputation: 18174

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:

Upvotes: 25

Related Questions