@ConfigRoot public class HibernateOrmConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HibernateOrmConfig.HibernateOrmConfigDatabase |
static class |
HibernateOrmConfig.HibernateOrmConfigJdbc |
static class |
HibernateOrmConfig.HibernateOrmConfigLog |
static class |
HibernateOrmConfig.HibernateOrmConfigQuery |
Modifier and Type | Field and Description |
---|---|
int |
batchFetchSize
The size of a batch when using batch loading to load entities and collections.
|
HibernateOrmConfig.HibernateOrmConfigDatabase |
database
Database related configuration.
|
Optional<String> |
dialect
The hibernate ORM dialect class name
|
Optional<String> |
dialectStorageEngine
The storage engine used by the dialect if it supports several storage engines.
|
HibernateOrmConfig.HibernateOrmConfigJdbc |
jdbc
JDBC related configuration.
|
HibernateOrmConfig.HibernateOrmConfigLog |
log
Logging configuration.
|
HibernateOrmConfig.HibernateOrmConfigQuery |
query
Query related configuration.
|
Optional<String> |
sqlLoadScript
To populate the database tables with data before the application loads,
specify the location of a load script.
|
boolean |
statistics
Statistics configuration.
|
Constructor and Description |
---|
HibernateOrmConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAnyPropertySet() |
@ConfigItem(name="dialect.storage-engine") public Optional<String> dialectStorageEngine
This is the case of MariaDB.
@ConfigItem public Optional<String> sqlLoadScript
@ConfigItem(defaultValue="-1") public int batchFetchSize
-1 means batch loading is disabled.
@ConfigItem public HibernateOrmConfig.HibernateOrmConfigQuery query
@ConfigItem public HibernateOrmConfig.HibernateOrmConfigDatabase database
@ConfigItem public HibernateOrmConfig.HibernateOrmConfigJdbc jdbc
@ConfigItem public HibernateOrmConfig.HibernateOrmConfigLog log
@ConfigItem(defaultValue="false") public boolean statistics
Copyright © 2019 JBoss by Red Hat. All rights reserved.