persistence
persistence copied to clipboard
clarify the usage of certain standard config properties
This pull request contains the following changes.
- The property
jakarta.persistence.schema-generation.create-database-schemasis defined to be usable "in Java SE" as well is in Jakarta EE in the text of the spec (and that's useful) but it was not mentioned in the part of the spec which definespersistence.xmland so it was also missing fromPersistenceConfiguration. I have added it where it was missing. - The properties
database-product-nameand friends had already been promoted out of the schema generation section, but I forgot to add them to the section onpersistence.xml. This is fixed here. - The property
jakarta.persistence.bean.managerwas mentioned in one place in the text, but it was not in any of the lists of properties. I have added it to the list that includes the similar propertyjakarta.persistence.validation.factory. I have not added these to the list ofpersistence.xmlproperties, since apparently they're considered "integration-level", whatever that means. - I have added some subsection headings to break this material up a bit better and make it easier to find stuff.
- I have proposed adding lists of configuration properties in inner interfaces of the
Persistenceclass, as discussed in #863.