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 DatabaseReturn the database for the given name.static DatabaseDatabaseFactory.create(DatabaseBuilder builder) Create using the DatabaseConfig object to configure the database.static DatabaseCreate using properties to configure the database.static DatabaseDatabaseFactory.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 DatabaseDB.getDefault()Return the default database.protected static DatabaseBackdoor for registering a mock implementation of Database as the default database.Modifier and TypeMethodDescriptionprotected static DatabaseBackdoor for registering a mock implementation of Database as the default database.QueryBuilder.usingDatabase(Database database) Execute the query using the given database.ModifierConstructorDescriptionprotectedBeanFinder(Class<T> type, Database database) Create with the given bean type and Database instance.protectedBeanRepository(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 voidShutdownManager.registerDatabase(Database server) Register an ebeanServer to be shutdown when the JVM is shutdown.static voidShutdownManager.unregisterDatabase(Database server) Deregister an ebeanServer. -
Uses of Database in io.ebean.plugin
Subinterfaces of Database in io.ebean.pluginModifier and TypeInterfaceDescriptioninterfaceExtensions 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.