@Versioned
public final class EbeanService
extends act.db.sql.SqlDbService
| Modifier and Type | Field and Description |
|---|---|
static osgl.version.Version |
VERSION |
| Constructor and Description |
|---|
EbeanService(String dbId,
act.app.App app,
Map<String,String> config) |
| Modifier and Type | Method and Description |
|---|---|
protected act.db.sql.DataSourceProvider |
builtInDataSourceProvider() |
protected void |
dataSourceProvided(DataSource dataSource,
act.db.sql.DataSourceConfig dsConfig,
boolean readonly) |
<DAO extends act.db.Dao> |
defaultDao(Class<?> modelType) |
protected void |
doEndTxIfActive(Object delegate) |
protected void |
doRollbackTx(Object delegate,
Throwable cause) |
protected void |
doStartTx(Object delegate,
boolean readOnly) |
io.ebean.EbeanServer |
ebean() |
io.ebean.EbeanServer |
ebean(boolean readOnly) |
io.ebean.EbeanServer |
ebeanReadOnly() |
Class<? extends Annotation> |
entityAnnotationType() |
<DAO extends act.db.Dao> |
newDaoInstance(Class<DAO> daoType) |
protected void |
releaseResources() |
protected boolean |
supportDdl() |
beginTxIfRequired, configured, createTxListener, dataSource, dataSource, dataSourceConfig, dataSourceProvider, dataSourceReadOnly, dataSourceStatus, executeDdl, fieldNameFromPropertyName, forceBeginTx, initAsynchronously, initialized, newDataSource, tableNameFromClassName, toStringaddSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, printCenter, printCenterWithLead, printDashedLine, printDoubleDashedLine, printHashSimbolLine, println, printStarLine, printTildLine, trace, trace, warn, warnprotected boolean supportDdl()
supportDdl in class act.db.sql.SqlDbServiceprotected void dataSourceProvided(DataSource dataSource, act.db.sql.DataSourceConfig dsConfig, boolean readonly)
dataSourceProvided in class act.db.sql.SqlDbServiceprotected act.db.sql.DataSourceProvider builtInDataSourceProvider()
builtInDataSourceProvider in class act.db.sql.SqlDbServiceprotected void releaseResources()
releaseResources in class act.db.sql.SqlDbServicepublic <DAO extends act.db.Dao> DAO defaultDao(Class<?> modelType)
defaultDao in class act.db.DbServicepublic <DAO extends act.db.Dao> DAO newDaoInstance(Class<DAO> daoType)
newDaoInstance in class act.db.DbServicepublic Class<? extends Annotation> entityAnnotationType()
entityAnnotationType in class act.db.DbServiceprotected void doStartTx(Object delegate, boolean readOnly)
doStartTx in class act.db.sql.SqlDbServiceprotected void doRollbackTx(Object delegate, Throwable cause)
doRollbackTx in class act.db.sql.SqlDbServiceprotected void doEndTxIfActive(Object delegate)
doEndTxIfActive in class act.db.sql.SqlDbServicepublic io.ebean.EbeanServer ebean(boolean readOnly)
public io.ebean.EbeanServer ebean()
public io.ebean.EbeanServer ebeanReadOnly()
Copyright © 2015–2019 ActFramework. All rights reserved.