Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao Class Reference

Abstract super class for database implementations of the DAOs. More...

Inheritance diagram for Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao:
Summer.Batch.Common.Factory.IInitializationPostOperations Summer.Batch.Core.Repository.Dao.DbExecutionContextDao Summer.Batch.Core.Repository.Dao.DbJobExecutionDao Summer.Batch.Core.Repository.Dao.DbJobInstanceDao Summer.Batch.Core.Repository.Dao.DbStepExecutionDao

Public Member Functions

virtual void AfterPropertiesSet ()
 Checks that DbOperator has been correctly set. More...
 

Public Attributes

const string TablePrefixSetting = "TablePrefix"
 The name of the setting for the table prefix. More...
 
const string DefaultTablePrefix = "BATCH_"
 Default table prefix constant. More...
 
const int DefaultExitMessageLength = 2500
 Default exit message length constant. More...
 

Protected Member Functions

string InsertTablePrefix (string query)
 Inserts the table prefix in the specified query. It uses the string.Format(string,object) syntax, and expect the prefix to be the parameter 0 ( More...
 

Static Protected Attributes

static readonly TransactionOptions TransactionOptions
 The default transaction options for transaction scopes in the DAOs. More...
 

Properties

string TablePrefix [get, set]
 The prefix for the batch persistence tables in the database. Default value is "BATCH_". More...
 
DbOperator DbOperator [get, set]
 The database operator used for persistence. More...
 
IPlaceholderGetter PlaceholderGetter [get, set]
 The parameter helper used to create parameter placeholders in queries. More...
 

Detailed Description

Abstract super class for database implementations of the DAOs.

Member Function Documentation

virtual void Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.AfterPropertiesSet ( )
virtual

Checks that DbOperator has been correctly set.

Implements Summer.Batch.Common.Factory.IInitializationPostOperations.

string Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.InsertTablePrefix ( string  query)
protected

Inserts the table prefix in the specified query. It uses the string.Format(string,object) syntax, and expect the prefix to be the parameter 0 (

{0}).

Parameters
querythe query in which to insert the table prefix
Returns

Member Data Documentation

const int Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.DefaultExitMessageLength = 2500

Default exit message length constant.

const string Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.DefaultTablePrefix = "BATCH_"

Default table prefix constant.

const string Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.TablePrefixSetting = "TablePrefix"

The name of the setting for the table prefix.

readonly TransactionOptions Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.TransactionOptions
staticprotected
Initial value:
{
IsolationLevel = IsolationLevel.ReadCommitted
}

The default transaction options for transaction scopes in the DAOs.

Property Documentation

DbOperator Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.DbOperator
getset

The database operator used for persistence.

IPlaceholderGetter Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.PlaceholderGetter
getset

The parameter helper used to create parameter placeholders in queries.

string Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.TablePrefix
getset

The prefix for the batch persistence tables in the database. Default value is "BATCH_".


The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Repository/Dao/AbstractDbBatchMetadataDao.cs