-Connection = Helps our java project
connect to database
-Statement = Helps to write and execute SQL query
-ResultSet = A DataStructure where
the data from query result stored
jdbc
JDBC is an SQL-based API created by Sun Microsystems to enable
Java applications to use SQL for database access.
Register the Driver class
Create connection
Create statement
Execute queries
Close connection
jdbc
JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and execute the query with the database. It is a part of JavaSE (Java Standard Edition). JDBC API uses JDBC drivers to connect with the database.