Lecture 5.1 Flashcards
What is JDBC
Java Database Connnectivity: JDBC is a standard API specification developed in order to move data from frontend to the backend.
Describe java.sql.connection
Represents a connection from the Java program to the external database system
Describe java.sql.statement
Used to issue raw SQL statements to a relational database. Statement interface cannot accept parameters and useful when you are using static SQL statements at runtime.
Describe java.sql.PreparedStatement
Used to issue precompiled SQL statements to a relational database. The PreparedStatement interface accepts input parameters at runtime
Describe java.sql.ResultSet
Represents the results returned from a relational database after an SQL statement has been processed