Uses of Interface
io.ebean.Database
Packages that use Database
Package
Description
Enhanced beans API and Support objects
Configuration settings for Database construction
Persist and Query Event Controllers and Listeners
Provides a API for plugins.
-
Uses of Database in io.ebean
Modifier and TypeMethodDescriptionDatabaseBuilder.build()
Build and return the Database instance.static Database
Return the database for the given name.static Database
DatabaseFactory.create
(DatabaseBuilder builder) Create using the DatabaseConfig object to configure the database.static Database
Create using properties to configure the database.static Database
DatabaseFactory.createWithContextClassLoader
(DatabaseBuilder config, ClassLoader classLoader) Create using the DatabaseConfig additionally specifying a classLoader to use as the context class loader.BeanFinder.db()
Return the Database to use.Return typically a different Database to the default.Finder.db()
Return the Database this finder will use.Return typically a different Database to the default.Model.db()
Return the underlying 'default' Database.static Database
DB.getDefault()
Return the default database.protected static Database
Backdoor for registering a mock implementation of Database as the default database.Modifier and TypeMethodDescriptionprotected static Database
Backdoor for registering a mock implementation of Database as the default database.QueryBuilder.usingDatabase
(Database database) Execute the query using the given database.ModifierConstructorDescriptionprotected
BeanFinder
(Class<T> type, Database database) Create with the given bean type and Database instance.protected
BeanRepository
(Class<T> type, Database database) Create with the given bean type and Database instance. -
Uses of Database in io.ebean.bean
Fields in io.ebean.bean declared as DatabaseConstructors in io.ebean.bean with parameters of type Database -
Uses of Database in io.ebean.config
Methods in io.ebean.config that return DatabaseModifier and TypeMethodDescriptionDatabaseConfig.build()
QueryPlanCapture.database()
Return the database the plans were captured for.Constructors in io.ebean.config with parameters of type Database -
Uses of Database in io.ebean.event
Methods in io.ebean.event that return DatabaseModifier and TypeMethodDescriptionBeanDeleteIdRequest.database()
Return the DB processing the request.BeanPersistRequest.database()
Return the DB processing the request.BeanQueryRequest.database()
Return the DB processing the request.Methods in io.ebean.event with parameters of type DatabaseModifier and TypeMethodDescriptionstatic void
ShutdownManager.registerDatabase
(Database server) Register an ebeanServer to be shutdown when the JVM is shutdown.static void
ShutdownManager.unregisterDatabase
(Database server) Deregister an ebeanServer. -
Uses of Database in io.ebean.plugin
Subinterfaces of Database in io.ebean.pluginModifier and TypeInterfaceDescriptioninterface
Extensions to Database API made available to plugins. -
Uses of Database in io.ebean.service
Methods in io.ebean.service that return DatabaseModifier and TypeMethodDescriptionSpiContainer.createServer
(DatabaseBuilder configuration) Create the EbeanServer for a given configuration.SpiContainer.createServer
(String name) Create an EbeanServer just using the name.