- activateTransactionIfNeeded() - 类 中的方法org.unitils.database.DatabaseModule
-
- activateTransactionIfNeeded() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- activateTransactionIfNeeded(Object) - 类 中的方法org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
-
- activateTransactionIfNeeded(Object) - 接口 中的方法org.unitils.database.transaction.UnitilsTransactionManager
-
- afterInit() - 类 中的方法org.unitils.database.DatabaseModule
-
Initializes the spring support object
- afterTestTearDown(Object, Method) - 类 中的方法org.unitils.database.DatabaseModule.DatabaseTestListener
-
- assertCountSqlResult(String, Long) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
The SQL given should only return one row with one column, this column should be a number (preferred a count(*)).
- assertCountSqlResult(String, Long, String) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
The SQL given should only return one row with one column, this column should be a number (preferred a count(*)).
- assertCountSqlResult(String, DataSource, Long) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
The SQL given should only return one row with one column, this column should be a number (preferred a count(*)).
- assertMultipleRowSqlResult(String, String, String[]...) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
To be succesfull the result of the SQL should return as many rows as the two dimensional arrey has, each row should be identical to
the given parameter.
- assertMultipleRowSqlResult(String, String[]...) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
To be succesfull the result of the SQL should return as many rows as the two dimensional arrey has, each row should be identical to
the given parameter.
- assertMultipleRowSqlResult(String, DataSource, String[]...) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
To be successful the result of the SQL should return as many rows as the two dimensional array has, each row should be identical to
the given parameter.
- assertSingleRowSqlResult(String, String[]) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
To be succesfull the result of the SQL should only return one row, this row should be identical to the given parameter.
- assertSingleRowSqlResult(String, String, String[]) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
To be succesfull the result of the SQL should only return one row, this row should be identical to the given parameter.
- assertSingleRowSqlResult(String, DataSource, String[]) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
To be successful the result of the SQL should only return one row, this row should be identical to the given parameter.
- generateDatasetDefinition() - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Generates a definition file that defines the structure of dataset's, i.e. a XSD of DTD that
describes the structure of the database.
- generateDatasetDefinition(String) - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Generates a definition file that defines the structure of dataset's, i.e. a XSD of DTD that
describes the structure of the database.
- generateDatasetDefinition() - 类 中的方法org.unitils.database.DataSourceWrapper
-
Generates a definition file that defines the structure of dataset's, i.e. a XSD of DTD that
describes the structure of the database.
- getConfiguredDatabaseTaskInstance(Class<T>) - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getConnection() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getDatabaseConfiguration() - 类 中的方法org.unitils.database.config.DatabaseConfigurations
-
This is the configuration for the default database.
- getDatabaseConfiguration(String) - 类 中的方法org.unitils.database.config.DatabaseConfigurations
-
- getDatabaseConfiguration() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getDatabaseConfigurations() - 类 中的方法org.unitils.database.config.DatabaseConfigurations
-
- getDatabaseConfigurations() - 类 中的方法org.unitils.database.DatabaseModule
-
- getDatabaseName() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getDatabaseName() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getDatabaseNames() - 类 中的方法org.unitils.database.config.DatabaseConfigurations
-
- getDataSource(String, Map<String, DataSource>, Object) - 类 中的方法org.unitils.database.DatabaseModule
-
- getDataSource(String) - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Returns the DataSource that connects to the test database
- getDataSource() - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Returns the DataSource that connects to the test database
- getDataSource() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getDataSourceAndActivateTransactionIfNeeded() - 类 中的方法org.unitils.database.DataSourceWrapper
-
Returns the DataSource that provides connection to the unit test database.
- getDefaultSchemaName() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getDefaultSqlHandler() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getDialect() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getDriverClassName() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getGoodConnection(Connection, DataSource) - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
This method gets a
Connection from the
DataSource and checks if it is a oracle.jdbc.driver.OracleConnection.
- getItemAsLong(String, DataSource) - 类 中的静态方法org.unitils.database.SQLUnitils
-
Returns the long extracted from the result of the given query.
- getItemAsString(String, DataSource, Integer) - 类 中的静态方法org.unitils.database.sqlassert.SqlAssert
-
Returns the value extracted from the result of the given query.
- getItemAsString(String, DataSource) - 类 中的静态方法org.unitils.database.SQLUnitils
-
Returns the value extracted from the result of the given query.
- getItemsAsStringSet(String, DataSource) - 类 中的静态方法org.unitils.database.SQLUnitils
-
Returns the items extracted from the result of the given query.
- getNewDataSource() - 类 中的方法org.unitils.database.config.PropertiesDataSourceFactory
-
Returns a concrete instance of BasicDataSource.
- getObject(String) - 类 中的方法org.unitils.database.UnitilsDataSourceFactoryBean
-
Gets the data source instance.
- getObject() - 类 中的方法org.unitils.database.UnitilsDataSourceFactoryBean
-
Gets the data source instance.
- getObjectType() - 类 中的方法org.unitils.database.UnitilsDataSourceFactoryBean
-
Gets the type of the object provided by this FactoryBean, i.e.
- getOptionalDatabaseConfiguration(String) - 类 中的方法org.unitils.database.config.DatabaseConfigurations
-
- getPassword() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getPreference() - 接口 中的方法org.unitils.database.transaction.impl.UnitilsTransactionManagementConfiguration
-
- getSchemaNames() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getSpringPlatformTransactionManager(Object) - 接口 中的方法org.unitils.database.transaction.impl.UnitilsTransactionManagementConfiguration
-
Returns a PlatformTransactionManager that can provide transactional behavior for the given test object.
- getTestListener() - 类 中的方法org.unitils.database.DatabaseModule
-
- getTestObject() - 类 中的方法org.unitils.database.DatabaseModule
-
- getTestObject() - 类 中的方法org.unitils.database.DataSourceWrapper
-
- getTransactionalDataSource(DataSource) - 类 中的方法org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
-
Returns the given datasource, wrapped in a spring
TransactionAwareDataSourceProxy
- getTransactionalDataSource(DataSource) - 接口 中的方法org.unitils.database.transaction.UnitilsTransactionManager
-
Wraps the given DataSource in a transactional proxy.
- getTransactionalDataSourceAndActivateTransactionIfNeeded(Object) - 类 中的方法org.unitils.database.DataSourceWrapper
-
Returns the DataSource that provides connection to the unit test database.
- getTransactionManagementConfiguration(Object) - 类 中的方法org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
-
- getTransactionManager() - 类 中的方法org.unitils.database.DatabaseModule
-
Returns the transaction manager or creates one if it does not exist yet.
- getTransactionMode(Object, Method) - 类 中的方法org.unitils.database.DatabaseModule
-
- getUrl() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getUserName() - 类 中的方法org.unitils.database.config.DatabaseConfiguration
-
- getWrapper(String) - 类 中的方法org.unitils.database.DatabaseModule
-
- UnitilsDataSourceFactoryBean - org.unitils.database中的类
-
Spring FactoryBean that provides access to the datasource configured in unitils.
- UnitilsDataSourceFactoryBean() - 类 的构造器org.unitils.database.UnitilsDataSourceFactoryBean
-
- UnitilsTransactionManagementConfiguration - org.unitils.database.transaction.impl中的接口
-
Defines the contract for suppliers of a spring PlatformTransactionManager of a specific subtype, suitable
for a given test object.
- UnitilsTransactionManager - org.unitils.database.transaction中的接口
-
Defines the contract for implementations that enable unit tests managed by unitils to be executed in a transaction.
- updateDatabase() - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Determines whether the test database is outdated and, if that is the case, updates the database with the
latest changes.
- updateDatabase(String) - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Determines whether the test database is outdated and, if that is the case, updates the database with the
latest changes.
- updateDatabase() - 类 中的方法org.unitils.database.DataSourceWrapper
-
Determines whether the test database is outdated and, if this is the case, updates the database with the
latest changes.
- updateDatabase(SQLHandler) - 类 中的方法org.unitils.database.DataSourceWrapper
-
Determines whether the test database is outdated and, if that is the case, updates the database with the
latest changes.
- updateDatabaseSchemaEnabled - 类 中的变量org.unitils.database.DatabaseModule
-
Indicates if the DBMaintainer should be invoked to update the database
- updateDisabled - 类 中的变量org.unitils.database.config.DatabaseConfiguration
-
- updateSequences() - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Updates all sequences that have a value below a certain configurable treshold to become equal
to this treshold
- updateSequences(String) - 类 中的静态方法org.unitils.database.DatabaseUnitils
-
Updates all sequences that have a value below a certain configurable treshold to become equal
to this treshold
- updateSequences() - 类 中的方法org.unitils.database.DataSourceWrapper
-
Updates all sequences that have a value below a certain configurable treshold to become equal
to this treshold
- url - 类 中的变量org.unitils.database.config.DatabaseConfiguration
-
- userName - 类 中的变量org.unitils.database.config.DatabaseConfiguration
-