1. A computer-implemented method, comprising: during execution of an application that accesses a relational database using an object-relational mapping (ORM) framework: monitoring 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; and by operation of one or more computer processors, configuring a manner in which the ORM framework fetches data from the relational database, based on the monitored activity and without having to restart the application.