|
We can avoid creation of TypedValue objects AbstractPersistentCollection#getOrphans(Collection, Collection, String, SessionImplementor) for some ID types like String, Integer, Long and UUID. This types are used in a lot of applications to define an ID. Avoiding creation of TypedValue objects would allow us to reduce the garbage produced by Hibernate while storing objects and improve the performance of those applications.
|