Overload List

NameDescription
Public methodSaveAndFlush()()
Saves the instance information to the database. May Create or Update the instance depending on whether it has a valid ID.
Protected methodStatic memberSaveAndFlush(Object)
Saves the instance to the database and flushes the session. If the primary key is unitialized it creates the instance on the database. Otherwise it updates it.

If the primary key is assigned, then you must invoke Create()() or Update()() instead.

See Also