Hi to all, this is my first post here (and hope not the last) and i have a question. I'm a newbie in ORMs and i'm working on a JPA project using Hibernate implementation so i decide to look for some documentation.
JAVA official site documentation about JPA is very understandable but there's something that i don't understand. I've googled about it but i couldn't find anything concret.
My question is: What's the difference between detached entity and new entity?
The next paragraph is from the java tutorial:
I understand that a new entity is when i create and instanciate a new object, for example:
But what's a detached object?
Regards.