Package | Description |
---|---|
io.ebean | |
io.ebean.plugin |
Provides a API for plugins.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EbeanServer
Provides the API for fetching and saving beans to a particular Database.
|
Modifier and Type | Method and Description |
---|---|
static Database |
DB.byName(String name)
Return the database for the given name.
|
static Database |
DatabaseFactory.create(DatabaseConfig config)
Create using the ServerConfig object to configure the server.
|
static Database |
DatabaseFactory.create(String name)
Create using ebean.properties to configure the server.
|
static Database |
DatabaseFactory.createWithContextClassLoader(DatabaseConfig config,
ClassLoader classLoader)
Create using the ServerConfig additionally specifying a classLoader to use as the context class loader.
|
static Database |
Model.db()
Return the underlying 'default' Database.
|
Database |
Finder.db()
Return the Database this finder will use.
|
static Database |
Model.db(String server)
Return a named Database that is typically different to the default database.
|
Database |
Finder.db(String databaseName)
Return typically a different Database to the default.
|
static Database |
DB.getDefault()
Return the default database.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SpiServer
Extensions to EbeanServer API made available to plugins.
|
Copyright © 2019. All rights reserved.