Added function to get DatabaseEngineType from string name