-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanLoaderbeanLoader()Return a BeanLoader.<T> BeanType<T>beanType(Class<T> beanClass)Return the bean type for a given entity bean class.BeanType<?>beanTypeForQueueId(String queueId)Return the bean type for a given doc store queueId.List<? extends BeanType<?>>beanTypes()Return all the bean types registered on this server instance.List<? extends BeanType<?>>beanTypes(String baseTableName)Return the bean types mapped to the given base table.DatabaseConfigconfig()Return the DatabaseConfig.DatabasePlatformdatabasePlatform()Return the DatabasePlatform for this database.voidloadBean(EntityBeanIntercept ebi)Invoke lazy loading on this single bean when no BeanLoader is set.voidloadBeanL2(EntityBeanIntercept ebi)Invoke lazy loading on this single bean (L2 cache bean).voidloadBeanRef(EntityBeanIntercept ebi)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 Detail
-
config
DatabaseConfig config()
Return the DatabaseConfig.
-
databasePlatform
DatabasePlatform databasePlatform()
Return the DatabasePlatform for this database.
-
beanTypes
List<? extends BeanType<?>> beanTypes()
Return all the bean types registered on this server instance.
-
beanType
<T> BeanType<T> beanType(Class<T> beanClass)
Return the bean type for a given entity bean class.
-
beanTypes
List<? extends BeanType<?>> beanTypes(String baseTableName)
Return the bean types mapped to the given base table.
-
beanTypeForQueueId
BeanType<?> beanTypeForQueueId(String queueId)
Return the bean type for a given doc store queueId.
-
beanLoader
BeanLoader beanLoader()
Return a BeanLoader.
-
loadBeanRef
void loadBeanRef(EntityBeanIntercept ebi)
Invoke lazy loading on this single bean (reference bean).
-
loadBeanL2
void loadBeanL2(EntityBeanIntercept ebi)
Invoke lazy loading on this single bean (L2 cache bean).
-
loadBean
void loadBean(EntityBeanIntercept ebi)
Invoke lazy loading on this single bean when no BeanLoader is set. Typically due to serialisation or multiple stateless updates.
-
-