Package io.ebean.config
package io.ebean.config
Configuration settings for Database construction
-
InterfaceDescriptionUsed to provide some automatic configuration early in the creation of a Database.Provides the Tenant Id for the current request based on the current user.Provides the current user in order to support 'Who created', 'Who modified' and other audit features.Provides a ServiceLoader based mechanism to configure a DatabaseConfig.Defines how constraint names are shortened if required based on platform limitations.Programmatically define which database columns are encrypted.Represents the key used for encryption.Determine keys used for encryption and decryption.Used for Java side encryption of properties when DB encryption is not used.Provides awareness of externally managed transactions.A customer Id generator that can be registered with Ebean and assigned to @Id properties using the name attribute of @GeneratedValue.Loads and returns entity classes to register with Ebean databases.Defines the naming convention for converting between logical property names/entity names and physical DB column names/table names.EXPERIMENTAL: Listener for captured query plans.ScalarTypeConverter<B,S>Matches the functionality of javax.persistence.AttributeConverterDeprecated.Listener for slow query events.For multi-tenancy via DB CATALOG supply the catalog given the tenantId.For multi-tenancy via DB supply the DataSource given the tenantId.For multi-tenancy via DB SCHEMA supply the schema given the tenantId.
-
ClassDescriptionProvides some base implementation for NamingConventions.Defines the AutoTune behaviour for a Database.Helper to find classes taking into account the context class loader.Configuration for the container that holds the Database instances.Custom mappings for DB types that override the default.The configuration used for creating a Database.Naming convention used for constraint names.Used to normalise table and column names which means stripping out quoted identifier characters and any catalog or schema prefix.Configuration for the Document store integration (e.g.Define the encryption options for a bean property.Configuration for JSON features.The JPA naming convention where column names match property names and table names match entity names.Configuration for DB types such as UUID, Geometry etc.Configuration for transaction profiling.The captured query plans.Deprecated.Slow query event.TableName holds catalog, schema and table name.Converts between Camel Case and Underscore based names for both table and column names (and is the default naming convention in Ebean).
-
EnumDescriptionThe mode for determining if AutoTune will be used for a given query when
Query.setAutoTune(boolean)
has not been explicitly set on a query.The Encryption mode.Defined the format used for Date types.Defined the format used for DateTime types.Specify how UUID is stored.The mode to use for multi-tenancy. -
ExceptionDescriptionThrow when an processing an entity bean that is not bytecode enhanced.Throw when an processing thinks a bean is not registered.
-
Annotation TypeDescriptionUsed by generated code to hold entity classes to register with Ebean.