DB and EntityManager config