Flushes all the current Hibernate sessions in the request.

ormFlushAll(); → returns void

This function requires Adobe ColdFusion 9.0.1 and up.  Not supported on Lucee, etc.

Sample code invoking the ormFlushAll function

Please note this will flush all operations for all users, use with care.


Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub