I know that Session.save()
persists the transient object. And I see that it also has saveOrUpdate()
, and also persist()
.
I suppose then that save()
is equivalent to SQL INCLUDE
, is it?
If I have an object that already exists on DB and I save()
it, will another row be included, will its fields be updated, or will it just be ignored and nothing happen?