io.github.mmm.orm.spi.session.AbstractDbEntitySession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-orm-spi Show documentation
Show all versions of mmm-orm-spi Show documentation
Service Provider API (SPI) for mmm-orm.
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.orm.spi.session;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
import io.github.mmm.base.exception.DuplicateObjectException;
import io.github.mmm.entity.bean.EntityBean;
import io.github.mmm.entity.id.Id;
/**
* Abstract base implementation of {@link DbEntitySession}.
*
* @param type of the managed {@link EntityBean}.
* @since 1.0.0
*/
public abstract class AbstractDbEntitySession implements DbEntitySession {
/** @see #getEntityClass() */
protected final Class entityClass;
private final Map