Click or drag to resize

ConfigurationCommonDBRef Methods

The ConfigurationCommonDBRef type exposes the following members.

Methods
  NameDescription
Public methodAddTypeBinding
Adds the SQL types binding.
Public methodSetDatabaseDriver(DriverConnectionFactoryDesc)
Sets the database driver.
Public methodSetDatabaseDriver(String, Properties)
Sets the database driver.
Public methodSetDatabaseDriver(String, String, Properties)
Sets the database driver.
Public methodSetDataSourceConnection
Sets the connection factory to use to obtain a connection.
Public methodSetDataSourceFactory
Set the connection factory to use a factory class.
Public methodSetExpiryTimeCache(Double, Double)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds.

Specifies the cache reference type to be weak references. Weak reference cache entries become eligible for garbage collection and are removed from cache when the garbage collection requires so.

Public methodSetExpiryTimeCache(Double, Double, CacheReferenceType)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds. Also allows setting the reference type indicating whether garbage collection may remove entries from cache.
Public methodSetLRUCache
Configures a LRU cache of the given size for the database.
Top
See Also