java.lang.Object
io.ebeaninternal.server.core.PersistDeferredRelationship
Deferred update of a relationship where an Id value is not initially available
so instead we execute this later as a SqlUpdate statement.
-
Constructor Summary
ConstructorsConstructorDescriptionPersistDeferredRelationship(SpiEbeanServer ebeanServer, BeanDescriptor<?> beanDescriptor, EntityBean assocBean, ImportedId importedId, EntityBean bean) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(SpiTransaction transaction) Build and execute a SqlUpdate to set the importId value (as it will be available now).
-
Constructor Details
-
PersistDeferredRelationship
public PersistDeferredRelationship(SpiEbeanServer ebeanServer, BeanDescriptor<?> beanDescriptor, EntityBean assocBean, ImportedId importedId, EntityBean bean)
-
-
Method Details
-
execute
Build and execute a SqlUpdate to set the importId value (as it will be available now).This is executed later (deferred) until after JDBC batch flush or prior to commit.
-