Skip to content
Sharp

SQL for Java Devs · interview question

How would you explain a common issue when using raw JDBC for database connections in a high-traffic e-commerce application in an interview?

Multiple choiceHardchapter-8-curatedpremiumsql-for-java-devsjdbc
Choose one answer
Answer and explanation

Correct answer

A. Inefficient connection management

Why

Using raw JDBC can lead to inefficient connection management, as each connection is created and closed for every request, which can become a bottleneck in high-traffic situations. Connection pooling is a common solution.

Test yourself on SQL for Java Devs

A free test with instant, explained results. No account needed.

Start free test
All SQL for Java Devs questions →