database
5 tutorials tagged “database”.
- DriverManager Class in JavaDriverManager finds a JDBC driver for a URL and opens connections. Learn its three getConnection forms, login timeout, driver lookup and its limits.
- 5 Steps to Connect to a Database in JavaThe five classic JDBC steps: load the driver, open a connection, create a statement, run SQL and close, plus the modern try-with-resources form.
- Connection Interface in JavaA Connection is one session with a database. Learn its methods for creating statements, controlling transactions, reading settings and closing safely.
- JDBC Drivers in JavaThe four types of JDBC drivers: the JDBC-ODBC bridge, native-API, network protocol and thin drivers, how each works, and which one to use today.
- JDBC in JavaJDBC is the standard Java API for talking to relational databases. Learn what it is, its architecture, the main interfaces, and run a first query.