| It's how it works, 2 Entities are the same only if they have the same id not just a single property. A a new created instance does not have an Id and it is considered in a Transient state. http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#pc |