- All Superinterfaces:
Database
Extensions to Database API made available to plugins.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a BeanLoader.<T> BeanType<T>
Return the bean type for a given entity bean class.BeanType<?>
beanTypeForQueueId
(String queueId) Return the bean type for a given doc store queueId.Return all the bean types registered on this server instance.Return the bean types mapped to the given base table.config()
Return the DatabaseConfig.Return the DatabasePlatform for this database.default <T> BeanType<T>
getBeanType
(Class<T> beanClass) Deprecated.default BeanType<?>
getBeanTypeForQueueId
(String queueId) Deprecated.Deprecated.getBeanTypes
(String baseTableName) Deprecated.default DatabasePlatform
Deprecated.default DatabaseConfig
Deprecated.void
Invoke lazy loading on this single bean when no BeanLoader is set.void
Invoke lazy loading on this single bean (L2 cache bean).void
Invoke lazy loading on this single bean (reference bean).Methods inherited from interface io.ebean.Database
autoTune, backgroundExecutor, beanId, beanId, beanState, beginTransaction, beginTransaction, beginTransaction, cacheManager, checkUniqueness, checkUniqueness, commitTransaction, createCallableSql, createCsvReader, createEntityBean, createNamedDtoQuery, createNamedQuery, createQuery, createQuery, createTransaction, createTransaction, createUpdate, currentTransaction, dataSource, delete, delete, delete, delete, deleteAll, deleteAll, deleteAll, deleteAll, deleteAllPermanent, deleteAllPermanent, deleteAllPermanent, deleteAllPermanent, deletePermanent, deletePermanent, deletePermanent, deletePermanent, diff, docStore, draftRestore, draftRestore, draftRestore, draftRestore, endTransaction, execute, execute, execute, execute, execute, execute, execute, execute, executeCall, executeCall, expressionFactory, extended, externalModification, filter, find, find, find, findDto, findNative, flush, insert, insert, insertAll, insertAll, json, lock, markAsDirty, merge, merge, merge, metaInfo, name, nextId, platform, pluginApi, publish, publish, publish, publish, readOnlyDataSource, reference, refresh, refreshMany, register, rollbackTransaction, save, save, saveAll, saveAll, saveAll, script, shutdown, shutdown, sort, sqlQuery, sqlUpdate, truncate, truncate, update, update, update, updateAll, updateAll, validateQuery
-
Method Details
-
config
DatabaseConfig config()Return the DatabaseConfig. -
getServerConfig
Deprecated.Migrate to config(). -
databasePlatform
DatabasePlatform databasePlatform()Return the DatabasePlatform for this database. -
getDatabasePlatform
Deprecated.Migrate to config(). -
beanTypes
Return all the bean types registered on this server instance. -
getBeanTypes
Deprecated.Migrate to beanTypes(). -
beanType
Return the bean type for a given entity bean class. -
getBeanType
Deprecated.Migrate to beanType(). -
beanTypes
Return the bean types mapped to the given base table. -
getBeanTypes
Deprecated.Migrate to beanTypes(). -
beanTypeForQueueId
Return the bean type for a given doc store queueId. -
getBeanTypeForQueueId
Deprecated.Migrate to beanTypes(). -
beanLoader
BeanLoader beanLoader()Return a BeanLoader. -
loadBeanRef
Invoke lazy loading on this single bean (reference bean). -
loadBeanL2
Invoke lazy loading on this single bean (L2 cache bean). -
loadBean
Invoke lazy loading on this single bean when no BeanLoader is set. Typically due to serialisation or multiple stateless updates.
-