I was looking for some real world scenarios for using hibernate / jpa methods
- like when to use merge() and when to use persist()?
- when to use getReference() vs find()?
- when do we require to detach the object? and what is the use of detaching the entity?