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

To make a property read-only from Hibernate's perspective (modifiable only by the database, not through the session), use insert="false" and update="false". This tells Hibernate to include the field in SELECT queries but not in INSERT or UPDATE operations.