PrepZone Logo
PrepZone
Back to Java

Java · Hard

How does JDBC work in Java? Explain DriverManager, connection pooling (HikariCP), transactions, and isolation levels.

JavaAdvanced JavaSenior

Answer preview

JDBC is Java's standard database API. Connection pooling (HikariCP, Tomcat Pool) reuses TCP connections and authenticated sessions — creating a new connection per request is prohibitively expensive.…