|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.springtestdbunit.bean.DatabaseConfigBean
public class DatabaseConfigBean
A bean representation of the DB unit DatabaseConfig class. This bean allows the database configuration from
spring using standard property arguments. The configuration from this bean can be applied to an
existing DatabaseConfig.
| Constructor Summary | |
|---|---|
DatabaseConfigBean()
|
|
| Method Summary | |
|---|---|
void |
apply(org.dbunit.database.DatabaseConfig databaseConfig)
Apply the configuration represented by this bean to the specified databaseConfig. |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseConfigBean()
| Method Detail |
|---|
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 void apply(org.dbunit.database.DatabaseConfig databaseConfig)
databaseConfig - the database config to be updated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||