flush

void flush()

Flush the underlying session to the datastore, if applicable:
for example, all affected Hibernate/JPA sessions.

This is effectively just a hint and may be a no-op if the underlying
transaction manager does not have a flush concept. A flush signal may
get applied to the primary resource or to transaction synchronizations,
depending on the underlying resource.