lenchan
Sep 15th, 2004, 09:35 PM
Hi,
Not sure if this is a bean factory question or data access question, but anyway ...
I am just wondering how to deal with DBMS crash or periodic shutdown. The datasource is instantiated at application startup and injected into transaction manager and DAO beans.
Now, if the DBMS goes down for a brief period and the connection is lost, how do we re-instantiate the datasource, and fix up all references to it from other beans?
Not sure if this is a bean factory question or data access question, but anyway ...
I am just wondering how to deal with DBMS crash or periodic shutdown. The datasource is instantiated at application startup and injected into transaction manager and DAO beans.
Now, if the DBMS goes down for a brief period and the connection is lost, how do we re-instantiate the datasource, and fix up all references to it from other beans?