InterviewSolution
| 1. |
What Is Persistent Fields? |
|
Answer» If the entity class uses persistent fields, the PERSISTENCE runtime ACCESSES entity-class instance VARIABLES directly. All fields not annotated javax.persistence.Transient or not marked as JAVA transient will be PERSISTED to the data store. The object/relational mapping annotations must be applied to the instance variables. If the entity class uses persistent fields, the Persistence runtime accesses entity-class instance variables directly. All fields not annotated javax.persistence.Transient or not marked as Java transient will be persisted to the data store. The object/relational mapping annotations must be applied to the instance variables. |
|