Multiple choice technology architecture

What are reasons why you would use an ORM approach?

  1. Application can be isolated from the database and the only connection to it is using the ORM framework and a JDBC driver.

  2. Manageability of a Java application increases.

  3. They perform faster than direct JDBC connections.

  4. ORM supports same level of data access as SQL.

  5. ORM does little to improve developer productivity.

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

ORM frameworks isolate applications from database-specific code by providing a persistence layer that uses only the ORM framework and JDBC. This isolation improves manageability by centralizing data access logic and reducing scattered SQL. However, ORM introduces overhead and is typically slower than well-optimized direct JDBC. ORM also cannot match SQL's full power for complex queries and database-specific features. ORM significantly improves developer productivity by reducing boilerplate code.