1. A computer-implemented method, comprising: monitoring, during execution of an application that accesses a relational database using an object-relational mapping (ORM) framework, activity comprising: (i) fetching of data from the relational database by the ORM framework for a use case of the application and (ii) accessing of the fetched data by the use case of the application, wherein the use case represents a unit of work performed by the application; determining, based on the monitored activity, at least a subset of the data being fetched by the ORM framework, that is not used by the application, wherein the subset comprises one or more nodes in an object hierarchy of the application; and configuring the ORM framework by one or more computer processors and without having to restart the application, to fetch data for the one or more nodes in the object hierarchy only upon a request from the application to access the one or more nodes.