Multiple choice technology databases

Define Mapper class in iBATIS:

  1. Mapper classes are Java classes that contain SQL Mapping Annotations that avoid the need for XML

  2. Mapper classes are Java classes that contain data Mapping Annotations that encourage the need for XML

  3. Mapper classes are Java classes that contain SQL that avoid the need for XML

  4. Mapper classes are O/R Mapping objects contain SQL Mapping objects that avoid the need for XML

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

Mapper classes in iBATIS are Java classes that use SQL Mapping Annotations to define database operations. This annotation-based approach can replace XML configuration, providing a more concise and type-safe way to map SQL statements to Java methods.