Constructor and Description |
---|
DatabaseConfigBean() |
Modifier and Type | Method and Description |
---|---|
void |
apply(org.dbunit.database.DatabaseConfig databaseConfig)
Apply the configuration represented by this bean to the specified databaseConfig.
|
Boolean |
getAllowEmptyFields()
Gets the allow empty fields database config feature.
|
Boolean |
getBatchedStatements()
Gets the batched statements database config feature.
|
Integer |
getBatchSize()
Gets the batch size database config property.
|
Boolean |
getCaseSensitiveTableNames()
Gets the case sensitive table names database config feature.
|
org.dbunit.dataset.datatype.IDataTypeFactory |
getDatatypeFactory()
Gets the data type factory database config property.
|
Boolean |
getDatatypeWarning()
Gets the datatype warning database config feature.
|
String |
getEscapePattern()
Gets the escape pattern database config property.
|
Integer |
getFetchSize()
Gets the fetch size database config property.
|
org.dbunit.database.IMetadataHandler |
getMetadataHandler()
Gets the meta-data handler database config property.
|
org.dbunit.dataset.filter.IColumnFilter |
getPrimaryKeyFilter()
Gets the primary key filter database config property.
|
Boolean |
getQualifiedTableNames()
Gets the qualified table names database config feature.
|
org.dbunit.database.IResultSetTableFactory |
getResultsetTableFactory()
Gets the result set table factory database config property.
|
Boolean |
getSkipOracleRecyclebinTables()
Gets the skip oracle recyclebin tables database config feature.
|
org.dbunit.database.statement.IStatementFactory |
getStatementFactory()
Gets the statement factory database config property.
|
String[] |
getTableType()
Gets the table type database config property.
|
void |
setAllowEmptyFields(Boolean allowEmptyFields)
Sets the allow empty fields database config feature.
|
void |
setBatchedStatements(Boolean batchedStatements)
Sets the batched statements database config feature.
|
void |
setBatchSize(Integer batchSize)
Sets the batch size database config property.
|
void |
setCaseSensitiveTableNames(Boolean caseSensitiveTableNames)
Sets the case sensitive table names database config feature.
|
void |
setDatatypeFactory(org.dbunit.dataset.datatype.IDataTypeFactory dataTypeFactory)
Sets the data type factory database config property.
|
void |
setDatatypeWarning(Boolean datatypeWarning)
Sets the datatype warning database config feature.
|
void |
setEscapePattern(String escapePattern)
Sets the escape pattern database config property.
|
void |
setFetchSize(Integer fetchSize)
Sets the fetch size database config property.
|
void |
setMetadataHandler(org.dbunit.database.IMetadataHandler metadataHandler)
Sets the meta-data handler database config property.
|
void |
setPrimaryKeyFilter(org.dbunit.dataset.filter.IColumnFilter primaryKeyFilter)
Sets the primary key filter database config property.
|
void |
setQualifiedTableNames(Boolean qualifiedTableNames)
Sets the qualified table names database config feature.
|
void |
setResultsetTableFactory(org.dbunit.database.IResultSetTableFactory resultSetTableFactory)
Sets the result set table factory database config property.
|
void |
setSkipOracleRecyclebinTables(Boolean skipOracleRecyclebinTables)
Sets the skip oracle recyclebin tables database config feature.
|
void |
setStatementFactory(org.dbunit.database.statement.IStatementFactory statementFactory)
Sets the statement factory database config property.
|
void |
setTableType(String[] tableTable)
Sets the table type database config property.
|
public org.dbunit.database.statement.IStatementFactory getStatementFactory()
DatabaseConfig.PROPERTY_STATEMENT_FACTORY
public void setStatementFactory(org.dbunit.database.statement.IStatementFactory statementFactory)
statementFactory
- the statement factoryDatabaseConfig.PROPERTY_STATEMENT_FACTORY
public org.dbunit.database.IResultSetTableFactory getResultsetTableFactory()
DatabaseConfig.PROPERTY_RESULTSET_TABLE_FACTORY
public void setResultsetTableFactory(org.dbunit.database.IResultSetTableFactory resultSetTableFactory)
resultSetTableFactory
- the result set table factoryDatabaseConfig.PROPERTY_RESULTSET_TABLE_FACTORY
public org.dbunit.dataset.datatype.IDataTypeFactory getDatatypeFactory()
DatabaseConfig.PROPERTY_DATATYPE_FACTORY
public void setDatatypeFactory(org.dbunit.dataset.datatype.IDataTypeFactory dataTypeFactory)
dataTypeFactory
- the data type factoryDatabaseConfig.PROPERTY_DATATYPE_FACTORY
public String getEscapePattern()
DatabaseConfig.PROPERTY_ESCAPE_PATTERN
public void setEscapePattern(String escapePattern)
escapePattern
- the escape patternDatabaseConfig.PROPERTY_ESCAPE_PATTERN
public String[] getTableType()
DatabaseConfig.PROPERTY_TABLE_TYPE
public void setTableType(String[] tableTable)
tableTable
- the table typeDatabaseConfig.PROPERTY_TABLE_TYPE
public org.dbunit.dataset.filter.IColumnFilter getPrimaryKeyFilter()
DatabaseConfig.PROPERTY_PRIMARY_KEY_FILTER
public void setPrimaryKeyFilter(org.dbunit.dataset.filter.IColumnFilter primaryKeyFilter)
primaryKeyFilter
- the primary key filterDatabaseConfig.PROPERTY_PRIMARY_KEY_FILTER
public Integer getBatchSize()
DatabaseConfig.PROPERTY_BATCH_SIZE
public void setBatchSize(Integer batchSize)
batchSize
- the batch sizeDatabaseConfig.PROPERTY_BATCH_SIZE
public Integer getFetchSize()
DatabaseConfig.PROPERTY_FETCH_SIZE
public void setFetchSize(Integer fetchSize)
fetchSize
- the fetch sizeDatabaseConfig.PROPERTY_FETCH_SIZE
public org.dbunit.database.IMetadataHandler getMetadataHandler()
DatabaseConfig.PROPERTY_METADATA_HANDLER
public void setMetadataHandler(org.dbunit.database.IMetadataHandler metadataHandler)
metadataHandler
- meta-data handlerDatabaseConfig.PROPERTY_METADATA_HANDLER
public Boolean getCaseSensitiveTableNames()
DatabaseConfig.FEATURE_CASE_SENSITIVE_TABLE_NAMES
public void setCaseSensitiveTableNames(Boolean caseSensitiveTableNames)
caseSensitiveTableNames
- case sensitive table namesDatabaseConfig.FEATURE_CASE_SENSITIVE_TABLE_NAMES
public Boolean getQualifiedTableNames()
DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES
public void setQualifiedTableNames(Boolean qualifiedTableNames)
qualifiedTableNames
- the qualified table namesDatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES
public Boolean getBatchedStatements()
DatabaseConfig.FEATURE_BATCHED_STATEMENTS
public void setBatchedStatements(Boolean batchedStatements)
batchedStatements
- the batched statementsDatabaseConfig.FEATURE_BATCHED_STATEMENTS
public Boolean getDatatypeWarning()
DatabaseConfig.FEATURE_DATATYPE_WARNING
public void setDatatypeWarning(Boolean datatypeWarning)
datatypeWarning
- the datatype warningDatabaseConfig.FEATURE_DATATYPE_WARNING
public Boolean getSkipOracleRecyclebinTables()
DatabaseConfig.FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLES
public void setSkipOracleRecyclebinTables(Boolean skipOracleRecyclebinTables)
skipOracleRecyclebinTables
- skip oracle recyclebin tablesDatabaseConfig.FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLES
public Boolean getAllowEmptyFields()
DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS
public void setAllowEmptyFields(Boolean allowEmptyFields)
allowEmptyFields
- allow empty fieldsDatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS
public void apply(org.dbunit.database.DatabaseConfig databaseConfig)
databaseConfig
- the database config to be updated.Copyright © 2016. All rights reserved.