The procedure of synchronizing the persistence context state with the database is known as flushing. There are a set of methods sent by Hibernate Session and EntityManager with the help of which the persistence state of an entity can be changed by the application developer.

BY Best Interview Question ON 05 Apr 2019