Yes. You can create a singleton that always holds a database object, which has slight impact on performance.