Generalized database read patch 2