dynamic « Performance « JPA Q&A





1. Hibernate : dynamic-update dynamic-insert - Performance Effects    stackoverflow.com

Using dynamic-update or dynamic-insert has positive, though generally slight only on performance, as also mentioned by http://www.mkyong.com/hibernate/hibernate-dynamic-update-attribute-example/ But the reference documentation mentions that this could have negative performance effects also ...

2. Dynamic-update with JPA    stackoverflow.com

I was surprised to recently learn that the default hibernate behavior is to update all of the fields in an object if only a single change is made and merge is ...