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.
CSV processing objects.
-
Uses of Database in io.ebean
Modifier and TypeMethodDescriptionstatic Database
Return the database for the given name.static Database
DatabaseFactory.create
(DatabaseConfig config) Create using the DatabaseConfig object to configure the database.static Database
Create using properties to configure the database.static Database
DatabaseFactory.createWithContextClassLoader
(DatabaseConfig 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.Query.usingDatabase
(Database database) Execute the query using the given database.ModifierConstructorDescriptionprotected
BeanFinder
(Class<T> type, Database server) Create with the given bean type and Database instance.protected
BeanRepository
(Class<T> type, Database server) 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 TypeMethodDescriptionQueryPlanCapture.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
(DatabaseConfig configuration) Create the EbeanServer for a given configuration.SpiContainer.createServer
(String name) Create an EbeanServer just using the name. -
Uses of Database in io.ebean.text.csv
Fields in io.ebean.text.csv declared as DatabaseModifier and TypeFieldDescriptionprotected Database
DefaultCsvCallback.server
The EbeanServer used to save the beans.Methods in io.ebean.text.csv with parameters of type Database