Multiple choice technology programming languages

How can you make a property be read from the database but not modified in anyway

  1. By using the insert="false" and update="false" attributes

  2. By using the isinsert="false" and isupdate="false" attributes.

  3. By using the isinsert="no" and isupdate="no" attributes

  4. None

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

Setting insert="false" and update="false" in Hibernate mapping prevents the property from being included in INSERT and UPDATE statements. The property can still be read from the database but won't be modified during save operations. This is useful for database columns that are managed by triggers or are derived/calculated values.