public class DBDependencyFactory
extends java.lang.Object
Constructor | Description |
---|---|
DBDependencyFactory() |
Modifier and Type | Method | Description |
---|---|---|
static DBCacheDependency |
createOleDbCacheDependency(java.lang.String connectionString,
java.lang.String dbCacheKey) |
Creates a new instance of OleDbCacheDependency class,using the supplied parameters.
|
static DBCacheDependency |
createSqlCacheDependency(java.lang.String connectionString,
java.lang.String dbCacheKey) |
Creates a new instance of Sql7CacheDependency class, using the supplied parameters.
|
public static DBCacheDependency createSqlCacheDependency(java.lang.String connectionString, java.lang.String dbCacheKey)
connectionString
- The connection string for establishing a connection with the database server where the database containing above mentioned table exists.dbCacheKey
- The primary key of the record. Many dependency objects can be created based on the same primary key. When the record with this primary key is modified in the database, the associated item(s) in the cache expire(s).DBCacheDependency
public static DBCacheDependency createOleDbCacheDependency(java.lang.String connectionString, java.lang.String dbCacheKey)
connectionString
- The connection string for establishing a connection with the database server where the database containing above mentioned table exists.dbCacheKey
- The primary key of the record. Many dependency objects can be created based on the same primary key. When the record with this primary key is modified in the database, the associated item(s) in the cache expire(s).DBCacheDependency