Java Database Connectivity (JDBC, java.sql and javax.sql) is part of the JDK standard library. Learning raw JDBC teaches you exactly what happens beneath every ORM: how drivers register, why PreparedStatement stops SQL injection, how transactions commit or roll back, and why DataSource pooling matters in production.
More lessons in Complete Core Java