Whatever message this page gives is out now! Go check it out!

Event Handling in CFC

Last update:
Jun 9, 2026
ORM provides callbacks to the event listeners for all the persistence events like Load, Insert, Update, Delete. These events can be used for data validations or transformation or for some generic functions such as auditing. These events can be handled at two levels in ColdFusion ORM:
  • In a persistent CFC
  • Using an event handler CFC

    To enable event handling for an application, define the following setting: ormsettings.eventhandling= "true"

    By default, this flag is disabled. If you do not specify this flag while the event handler CFC is defined, the flag is considered as enabled.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page