Uses of Interface
io.ebean.Database
-
Packages that use Database Package Description io.ebean io.ebean.bean Enhanced beans API and Support objectsio.ebean.config Configuration settings for Database constructionio.ebean.event Persist and Query Event Controllers and Listenersio.ebean.plugin Provides a API for plugins.io.ebean.service io.ebean.text.csv CSV processing objects. -
-
Uses of Database in io.ebean
Fields in io.ebean declared as Database Modifier and Type Field Description protected DatabaseBeanFinder. serverMethods in io.ebean that return Database Modifier and Type Method Description static DatabaseDB. byName(String name)Return the database for the given name.static DatabaseDatabaseFactory. create(DatabaseConfig config)Create using the DatabaseConfig object to configure the database.static DatabaseDatabaseFactory. create(String name)Create using properties to configure the database.static DatabaseDatabaseFactory. createWithContextClassLoader(DatabaseConfig config, ClassLoader classLoader)Create using the DatabaseConfig additionally specifying a classLoader to use as the context class loader.DatabaseBeanFinder. db()Return the Database to use.DatabaseBeanFinder. db(String server)Return typically a different Database to the default.DatabaseFinder. db()Return the Database this finder will use.DatabaseFinder. db(String databaseName)Return typically a different Database to the default.DatabaseModel. db()Return the underlying 'default' Database.static DatabaseDB. getDefault()Return the default database.protected static DatabaseDB. mock(String name, Database server, boolean defaultServer)Backdoor for registering a mock implementation of Database as the default database.Methods in io.ebean with parameters of type Database Modifier and Type Method Description protected static DatabaseDB. mock(String name, Database server, boolean defaultServer)Backdoor for registering a mock implementation of Database as the default database.Query<T>Query. usingDatabase(Database database)Execute the query using the given database.Constructors in io.ebean with parameters of type Database Constructor Description BeanFinder(Class<T> type, Database server)Create with the given bean type and Database instance.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 Database Modifier and Type Field Description protected DatabaseSingleBeanLoader. databaseConstructors in io.ebean.bean with parameters of type Database Constructor Description Dflt(Database database)L2(Database database)Ref(Database database) -
Uses of Database in io.ebean.config
Methods in io.ebean.config that return Database Modifier and Type Method Description DatabaseQueryPlanCapture. database()Return the database the plans were captured for.Constructors in io.ebean.config with parameters of type Database Constructor Description QueryPlanCapture(Database database, List<MetaQueryPlan> plans) -
Uses of Database in io.ebean.event
Methods in io.ebean.event that return Database Modifier and Type Method Description DatabaseBeanDeleteIdRequest. database()Return the DB processing the request.DatabaseBeanPersistRequest. database()Return the DB processing the request.DatabaseBeanQueryRequest. database()Return the DB processing the request.Methods in io.ebean.event with parameters of type Database Modifier and Type Method Description static 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.plugin Modifier and Type Interface Description interfaceSpiServerExtensions to Database API made available to plugins. -
Uses of Database in io.ebean.service
Methods in io.ebean.service that return Database Modifier and Type Method Description DatabaseSpiContainer. createServer(DatabaseConfig configuration)Create the EbeanServer for a given configuration.DatabaseSpiContainer. 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 Database Modifier and Type Field Description protected DatabaseDefaultCsvCallback. serverThe EbeanServer used to save the beans.Methods in io.ebean.text.csv with parameters of type Database Modifier and Type Method Description voidCsvCallback. begin(Database database)The processing is about to begin.voidDefaultCsvCallback. begin(Database server)Create a transaction if required.
-