Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SchedulerFactoryObject.DbProvider Property

Set the default DbProvider to be used by the Scheduler. If set, this will override corresponding settings in Quartz properties.

[Visual Basic]
Public WriteOnly Property DbProvider() As IDbProvider
   Public Set
   End Set
End Property
public IDbProvider DbProvider { public set; }


Note: If this is set, the Quartz settings should not define a job store "dataSource" to avoid meaningless double configuration.

A Spring-specific subclass of Quartz' JobStoreSupport will be used. It is therefore strongly recommended to perform all operations on the Scheduler within Spring-managed transactions. Else, database locking will not properly work and might even break (e.g. if trying to obtain a lock on Oracle without a transaction).

See Also

SchedulerFactoryObject Class | Spring.Scheduling.Quartz Namespace | QuartzProperties | LocalDataSourceJobStore