Revert "refs #258, always create a database in its own transaction."

This reverts commit 82191229b081a0bc673b76aaff7ce979cc2f0973.