in reply to Re: Re: using multiple packages w/1 database connection
in thread using multiple packages w/1 database connection
Recent versions of DBI include an END block that does a disconnect_all and closes all database connections. Also, the DESTROY is supposed to call rollback before the disconnect. Doing a rollback in the END block is the safest thing otherwise some unknown, possibly failed, transaction could be committed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: using multiple packages w/1 database connection
by tachyon (Chancellor) on Sep 23, 2003 at 02:20 UTC |