User Guide Cancel

ORMFlush

 

Flushes the current ORM session associated with the data source specified in the application. ORMFlush flushes all the pending CRUD operations in that request.

Description

Flushes the Hibernate session associated with the data source in the request. ORMFlush flushes all pending CRUD operations in the request. Any changes made in the objects, in the current ORM session, are saved to the database.

If you do not specify the data source, the Hibernate session associated with the default data source is flushed.

Category

Syntax

ormflush([datasource])
ormflush([datasource])
ormflush([datasource])

See Also

ORMCloseSessionORMClearSessionORMGetSessionORMGetSessionFactoryORMFlush() in Developing ColdFusion Applications.

Get help faster and easier

New user?