InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 1981–1992 of 3610 questions

Java & Spring BootIntermediate1 min read

JPQL vs native SQL

JPQL queries entity names and mapped properties; native SQL queries database tables and columns

Java & Spring BootIntermediate1 min read

How does @Transactional work?

Spring transaction infrastructure surrounds eligible method calls and commits or rolls back according to transaction-manager rules

Java & Spring BootIntermediate1 min read

Lazy vs eager loading

Lazy loading defers relationship fetching until access; eager loading requests related data as part of entity loading

Java & Spring BootIntermediate1 min read

What is ProblemDetail?

ProblemDetail represents structured HTTP errors using fields such as status, title, detail, and instance