39. How can Hibernate be configured to access an instance variable directly and not through a setter method

By mapping the property with access="field" in Hibernate metadata. This forces hibernate to bypass the setter method and access the instance variable directly while initializing a newly loaded object.

No comments:

Post a Comment