Lecture 5.1 Flashcards

1
Q

What is JDBC

A

Java Database Connnectivity: JDBC is a standard API specification developed in order to move data from frontend to the backend.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe java.sql.connection

A

Represents a connection from the Java program to the external database system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe java.sql.statement

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe java.sql.PreparedStatement

A

Used to issue precompiled SQL statements to a relational database. The PreparedStatement interface accepts input parameters at runtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe java.sql.ResultSet

A

Represents the results returned from a relational database after an SQL statement has been processed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly