SaveOrUpdate
. true
- the entity is passed to Save()
, resulting in an INSERT
false
- the entity is passed to Update()
, resulting in an UPDATE
null
- Hibernate uses the unsaved-value
mapping to determine if the object is unsavedprotected IsUnsaved ( ) : object | ||
Результат | object |