we will see the difference between JPA EntityManager persist() and merge() method. The persist() method used to create new entity.