Uses of Interface
io.ebean.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
-
Uses of Database in io.ebean.config
Modifier and TypeMethodDescriptionQueryPlanCapture.database()
Return the database the plans were captured for. -
Uses of Database in io.ebean.event
Modifier 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.Modifier 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
Modifier and TypeInterfaceDescriptioninterface
Extensions to Database API made available to plugins. -
Uses of Database in io.ebean.service
Modifier 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