Attaches the specified entity to the current ORM session. It copies the state of the given object onto the persistent object with the same identifier and returns the persistent object. If there is no persistent instance currently associated with the session, it is loaded. The given instance is not associated with the session. User have to use the returned object from this session.
object
entityMerge( entity) |
Parameter |
Description |
|---|---|
entity |
The entity that must be attached to the ORM session. |
EntityLoad, EntityLoadByExample, EntityDelete, ColdFusion ORM chapter in Developing ColdFusion Applications
ColdFusion 9: Added this function.
Sign in to your account