开发者

Quartz.Net as windows service with jobstore in DB

开发者 https://www.devze.com 2023-04-06 12:57 出处:网络
The java version of Quartz has a validation-query property which is used to check whether the database ser开发者_运维百科vice is available. I cannot find this in the .NET version of Quartz. How does t

The java version of Quartz has a validation-query property which is used to check whether the database ser开发者_运维百科vice is available. I cannot find this in the .NET version of Quartz. How does the .NET version check if the database is available after a service has been restarted or when the system is booted?


Java has different way of checking whether a connection in the pool is still usable. The .NET connection pool does not have the concept of validation query, it's done internally within the connection pool.

So you don't need to worry about providing the validation query yourself.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号