Multiple choice technology databases

1.Which statements about JDBC are true? (2 answers)

  1. JDBC is an API to connect to relational-, object- and XML data sources

  2. JDBC stands for Java DataBase Connectivity

  3. JDBC is an API to access relational databases, spreadsheets and flat files

  4. JDBC is an API to bridge the object-relational mismatch between OO programs and relational

Reveal answer Fill a bubble to check yourself
B,C Correct answer
Explanation

JDBC stands for Java Database Connectivity, so option B is correct. JDBC is primarily an API for accessing relational databases, but it can also work with tabular data sources like spreadsheets and flat files through the JDBC-ODBC bridge or specific drivers, making option C correct. Option A is incorrect because JDBC is specifically designed for relational and tabular data, not XML or arbitrary object databases. Option D describes ORM tools like Hibernate, not JDBC itself.