Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

EntityMerge

Merge the state of the given entity into the current persistence context (session).

Method Signature

EntityMerge(entity=[Any])

Arguments

Argument
Type
Required
Description
Default

entity

Any

true

The entity instance to merge.

Examples

vehicle = entityLoadByPK( "Vehicle", "1HGCM82633A123456" );
ormGetSession().detach( vehicle );

vehicle.setModel( "Accord EX" );
entityMerge( vehicle );
ormFlush();

Last updated

Was this helpful?