public abstract class DataBaseTarget extends BaseTarget implements DataBaseTargetLogic
entityAny, log
Constructor and Description |
---|
DataBaseTarget() |
Modifier and Type | Method and Description |
---|---|
<E extends Entity> |
delete(QueryDelete<E> query,
Propagation propagation) |
String |
getDataBaseMajorVersion() |
String |
getDataBaseProductName() |
DataSource |
getDataSource() |
MetaSpecifics |
getMetaSpecifics() |
String |
getSchemaName() |
List<Entity> |
getTables() |
protected abstract DataSource |
initDataSource() |
protected abstract List<Entity> |
initTables() |
<E extends Entity> |
insert(QueryInsert<E> query,
Propagation propagation) |
boolean |
isBuffer() |
boolean |
isLogQueriesEnabled() |
void |
setDataBaseMajorVersion(String dataBaseMajorVersion) |
void |
setDataBaseProductName(String dataBaseProductName) |
void |
setDataSource(DataSource dataSource) |
void |
setEnabledLogQueries(boolean enable) |
void |
setSchemaName(String schemaName) |
<E extends Entity> |
update(QueryUpdate<E> query,
Propagation propagation) |
addInterceptor, addInterceptorForAllEntities, afterDelete, afterInsert, afterUpdate, areInterceptorInUse, beforeDelete, beforeInsert, beforeUpdate, enableStatisticCollecting, getAccessProtector, getInterceptorsForEntity, getInterceptorsMap, getLog, getStatisticCollector, getStatistics, handleTransactionalTarget, isStatisticCollectingEnabled, isTransactionActive, setAccessProtector
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeConnection, closeConnectionPsychically, count, delete, doSthOnConnection, finalConnectionClose, getAccessProtector, getConnection, getDataBaseMetaData, getNextId, insert, isConnectedToDatabase, openConnection, readEntity, readEntityList, readField, readFieldList, readPlate, readPlateList, update
deleteQueryToExpression, insertQueryToExpression, toQueryUpdateExpression, toSqlQuery
delete, deleteCollection, deletePkEntity, deletePkEntity, findAll, findAll, findFieldsByPk, findFieldsByPk, findManyByPk, findManyByPk, findOneByPk, findOneByPk, findOneByPk, getPrimaryKeyGenerator, insert, insertAll, insertAll, nativeSelect, nativeSelect, nativeSelect, select, select, select, select, select, selectRelated, update, update, update, update, updateWhole
beginTransaction, wrapTransaction, wrapTransactionAsynch, wrapTransactionAsynch
toSqlQuery
enableStatisticCollecting, getStatisticCollector, isStatisticCollectingEnabled
public boolean isLogQueriesEnabled()
isLogQueriesEnabled
in interface Target
public void setEnabledLogQueries(boolean enable)
protected abstract DataSource initDataSource()
public DataSource getDataSource()
getDataSource
in interface DataBaseTargetLogic
public void setDataSource(DataSource dataSource)
public String getDataBaseProductName()
getDataBaseProductName
in interface DataBaseTargetLogic
public void setDataBaseProductName(String dataBaseProductName)
public String getDataBaseMajorVersion()
public void setDataBaseMajorVersion(String dataBaseMajorVersion)
public <E extends Entity> int delete(QueryDelete<E> query, Propagation propagation)
delete
in interface QueryReceiver
public <E extends Entity> int update(QueryUpdate<E> query, Propagation propagation)
update
in interface QueryReceiver
public <E extends Entity> E insert(QueryInsert<E> query, Propagation propagation)
insert
in interface QueryReceiver
public String getSchemaName()
public void setSchemaName(String schemaName)
public MetaSpecifics getMetaSpecifics()
getMetaSpecifics
in interface DataBaseTargetLogic
Copyright © 2021. All rights reserved.