Support for multiple databases