What is jOOQ in Java?
A) A library for building SQL queries in a type-safe manner
B) A logging framework
C) A web application framework
D) A database management system
Answer:
A) A library for building SQL queries in a type-safe manner
Explanation:
jOOQ (Java Object Oriented Querying) is a popular Java library that allows developers to build SQL queries in a type-safe manner. It generates Java code from database schemas and allows you to write SQL queries using a fluent API, ensuring that the queries are checked for correctness at compile time. This reduces runtime errors and increases productivity when working with databases.