nickname: "an address"
line_2: " Lollypop factory "
line_3: "funky factory"
town: "Sugarfree town"
postcode: "UK1 LOL"
So you copy record from database into yml and you see this weird message:
javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist:
with lots meaningless stack trace.
Problem in this case is that ... hibernate fails if the id was already assigned,because id is automatically assigned.
Good to know...