Unified database manager for multiple database types