I have a background Windows Service that polls the database and executes background jobs, the problem is that when I startup the service and the DB is unavailable the Windows Service will not start correctly because nHibnerate is trying to connect to the DB for some reason at startup - not 100% sure why.
How do I adjust this so that nHibernate does not try to connect to the database upon startup - that way when the database does eventually become available and the polling will then connect and grab a job to execute.
Thanks in advance.
Whatty