I'm currently facing some confusion using Hibernate. At the moment Im using repositories and QueryDsl to build and execute my queries. Im confused when it comes to get a JDBC from the pool to perform DB operations. I understood the concept of write-behind cache that the persistence context is providing, but what I dont really understand is when a JDBC connection is actually requested from the pool, used for DB operations and then release.
Thank you