In Spring Boot - is there anyway to only connect to the database when it is required the first time? For example - lazy load the database setup?
I understand this is not the usual pattern but would interested in hearing if there is a solution to this
Thanks Damien