| 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_FACTORYpublic void setStatementFactory(org.dbunit.database.statement.IStatementFactory statementFactory)
statementFactory - the statement factoryDatabaseConfig.PROPERTY_STATEMENT_FACTORYpublic org.dbunit.database.IResultSetTableFactory getResultsetTableFactory()
DatabaseConfig.PROPERTY_RESULTSET_TABLE_FACTORYpublic void setResultsetTableFactory(org.dbunit.database.IResultSetTableFactory resultSetTableFactory)
resultSetTableFactory - the result set table factoryDatabaseConfig.PROPERTY_RESULTSET_TABLE_FACTORYpublic org.dbunit.dataset.datatype.IDataTypeFactory getDatatypeFactory()
DatabaseConfig.PROPERTY_DATATYPE_FACTORYpublic void setDatatypeFactory(org.dbunit.dataset.datatype.IDataTypeFactory dataTypeFactory)
dataTypeFactory - the data type factoryDatabaseConfig.PROPERTY_DATATYPE_FACTORYpublic String getEscapePattern()
DatabaseConfig.PROPERTY_ESCAPE_PATTERNpublic void setEscapePattern(String escapePattern)
escapePattern - the escape patternDatabaseConfig.PROPERTY_ESCAPE_PATTERNpublic String[] getTableType()
DatabaseConfig.PROPERTY_TABLE_TYPEpublic void setTableType(String[] tableTable)
tableTable - the table typeDatabaseConfig.PROPERTY_TABLE_TYPEpublic org.dbunit.dataset.filter.IColumnFilter getPrimaryKeyFilter()
DatabaseConfig.PROPERTY_PRIMARY_KEY_FILTERpublic void setPrimaryKeyFilter(org.dbunit.dataset.filter.IColumnFilter primaryKeyFilter)
primaryKeyFilter - the primary key filterDatabaseConfig.PROPERTY_PRIMARY_KEY_FILTERpublic Integer getBatchSize()
DatabaseConfig.PROPERTY_BATCH_SIZEpublic void setBatchSize(Integer batchSize)
batchSize - the batch sizeDatabaseConfig.PROPERTY_BATCH_SIZEpublic Integer getFetchSize()
DatabaseConfig.PROPERTY_FETCH_SIZEpublic void setFetchSize(Integer fetchSize)
fetchSize - the fetch sizeDatabaseConfig.PROPERTY_FETCH_SIZEpublic org.dbunit.database.IMetadataHandler getMetadataHandler()
DatabaseConfig.PROPERTY_METADATA_HANDLERpublic void setMetadataHandler(org.dbunit.database.IMetadataHandler metadataHandler)
metadataHandler - meta-data handlerDatabaseConfig.PROPERTY_METADATA_HANDLERpublic Boolean getCaseSensitiveTableNames()
DatabaseConfig.FEATURE_CASE_SENSITIVE_TABLE_NAMESpublic void setCaseSensitiveTableNames(Boolean caseSensitiveTableNames)
caseSensitiveTableNames - case sensitive table namesDatabaseConfig.FEATURE_CASE_SENSITIVE_TABLE_NAMESpublic Boolean getQualifiedTableNames()
DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMESpublic void setQualifiedTableNames(Boolean qualifiedTableNames)
qualifiedTableNames - the qualified table namesDatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMESpublic Boolean getBatchedStatements()
DatabaseConfig.FEATURE_BATCHED_STATEMENTSpublic void setBatchedStatements(Boolean batchedStatements)
batchedStatements - the batched statementsDatabaseConfig.FEATURE_BATCHED_STATEMENTSpublic Boolean getDatatypeWarning()
DatabaseConfig.FEATURE_DATATYPE_WARNINGpublic void setDatatypeWarning(Boolean datatypeWarning)
datatypeWarning - the datatype warningDatabaseConfig.FEATURE_DATATYPE_WARNINGpublic Boolean getSkipOracleRecyclebinTables()
DatabaseConfig.FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLESpublic void setSkipOracleRecyclebinTables(Boolean skipOracleRecyclebinTables)
skipOracleRecyclebinTables - skip oracle recyclebin tablesDatabaseConfig.FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLESpublic Boolean getAllowEmptyFields()
DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDSpublic void setAllowEmptyFields(Boolean allowEmptyFields)
allowEmptyFields - allow empty fieldsDatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDSpublic void apply(org.dbunit.database.DatabaseConfig databaseConfig)
databaseConfig - the database config to be updated.Copyright © 2016. All rights reserved.