Hibernate Annotations – Which is better, field or property access?
There are arguments for both, but most of them stem from certain user requirements “what if you need to add logic for”, or “xxxx breaks encapsulation”. However, nobody has really commented on the theory, and given a properly reasoned argument. What is Hibernate/JPA actually doing when it persists an object – well, it is persisting … Read more