addBatch

fun addBatch(entity: Entity<*>)

Adds the specified entity to the list of entities to batch update.

The column-value mapping for this entity will initially be empty. Columns to update should be assigned by using the set() operator on this EntityBatchUpdate instance.

Throws

If the entity being added cannot be associated with the EntityClass provided on instantiation of this EntityBatchUpdate.