What hibernate helps us to avoid
-
Complex Java coding
-
Avoid SQL query
-
Both of the above
-
None of the above
C
Correct answer
Explanation
Hibernate eliminates the need for complex JDBC code and direct SQL queries by providing object-oriented querying mechanisms like HQL and Criteria API. This simplifies data access and reduces boilerplate code while maintaining database independence.