
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.jdp Maven / Gradle / Ivy
#
#Thu Aug 04 11:11:35 CEST 2022
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.validateInDevMode=If hibernate is not auto generating the schema, and Quarkus is running in development mode\nthen Quarkus will attempt to validate the database after startup and print a log message if\nthere are any problems.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.cache=Caching configuration
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.implicitNamingStrategy=Pluggable strategy for applying implicit naming rules when an explicit name is not given.\n\nClass name of the Hibernate ImplicitNamingStrategy implementation
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.maxFetchDepth=The maximum depth of outer join fetch tree for single-ended associations (one-to-one, many-to-one).\n\nA `0` disables default outer join fetching.\n\n@deprecated {@link \#fetch} should be used to configure fetching properties.\n@asciidoclet
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.sqlLoadScript=Path to a file containing the SQL statements to execute when Hibernate ORM starts.\n\nThe file is retrieved from the classpath resources,\nso it must be located in the resources directory (e.g. `src/main/resources`).\n\nThe default value for this setting differs depending on the Quarkus launch mode\:\n\n* In dev and test modes, it defaults to `import.sql`.\n Simply add an `import.sql` file in the root of your resources directory\n and it will be picked up without having to set this property.\n Pass `no-file` to force Hibernate ORM to ignore the SQL import file.\n* In production mode, it defaults to `no-file`.\n It means Hibernate ORM won't try to execute any SQL import file by default.\n Pass an explicit value to force Hibernate ORM to execute the SQL import file.\n\nIf you need different SQL statements between dev mode, test (`@QuarkusTest`) and in production, use Quarkus\nhttps\://quarkus.io/guides/config\#configuration-profiles[configuration profiles facility].\n\n[source,property]\n.application.properties\n----\n%dev.quarkus.hibernate-orm.sql-load-script \= import-dev.sql\n%test.quarkus.hibernate-orm.sql-load-script \= import-test.sql\n%prod.quarkus.hibernate-orm.sql-load-script \= no-file\n----\n\n[NOTE]\n\=\=\=\=\nQuarkus supports `.sql` file with SQL statements or comments spread over multiple lines.\nEach SQL statement must be terminated by a semicolon.\n\=\=\=\=\n\n@asciidoclet
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.mappingFiles=XML files to configure the entity mapping, e.g. {@code META-INF/my-orm.xml}.\n\nDefaults to `META-INF/orm.xml` if it exists.\nPass `no-file` to force Hibernate ORM to ignore `META-INF/orm.xml`.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.jdbc=JDBC related configuration.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.batchFetchSize=The size of the batches used when loading entities and collections.\n\n`-1` means batch loading is disabled.\n\n@deprecated {@link \#fetch} should be used to configure fetching properties.\n@asciidoclet
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.fetch=Fetching logic configuration.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.discriminator=Discriminator related configuration.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.multitenantSchemaDatasource=Defines the name of the datasource to use in case of SCHEMA approach. The datasource of the persistence unit will be used\nif not set.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.database=Database related configuration.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.physicalNamingStrategy=Pluggable strategy contract for applying physical naming rules for database object names.\n\nClass name of the Hibernate PhysicalNamingStrategy implementation
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.query=Query related configuration.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.secondLevelCachingEnabled=The default in Quarkus is for 2nd level caching to be enabled,\nand a good implementation is already integrated for you.\n
\nJust cherry-pick which entities should be using the cache.\n
\nSet this to false to disable all 2nd level caches.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.dialect=Dialect related configuration.
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.metadataBuilderContributor=Class name of a custom\nhttps\://docs.jboss.org/hibernate/stable/orm/javadocs/org/hibernate/boot/spi/MetadataBuilderContributor.html[`org.hibernate.boot.spi.MetadataBuilderContributor`]\nimplementation.\n\n[NOTE]\n\=\=\=\=\nNot all customization options exposed by\nhttps\://docs.jboss.org/hibernate/stable/orm/javadocs/org/hibernate/boot/MetadataBuilder.html[`org.hibernate.boot.MetadataBuilder`]\nwill work correctly. Stay clear of options related to classpath scanning in particular.\n\nThis setting is exposed mainly to allow registration of types, converters and SQL functions.\n\=\=\=\=\n\n@asciidoclet
io.quarkus.hibernate.orm.deployment.HibernateOrmConfigPersistenceUnit.multitenant=Defines the method for multi-tenancy (DATABASE, NONE, SCHEMA). The complete list of allowed values is available in the\nhttps\://javadoc.io/doc/org.hibernate/hibernate-core/5.6.10.Final/org/hibernate/MultiTenancyStrategy.html[Hibernate ORM\nJavaDoc].\nThe type DISCRIMINATOR is currently not supported. The default value is NONE (no multi-tenancy).\n\n@asciidoclet