Interface GenericWriteOnlyDao<T,K>


public interface GenericWriteOnlyDao<T,K>
API for a generic write-only DAO.
  • Method Summary

    Modifier and Type
    Method
    Description
    persist(T entity)
    Persist a new entity.
  • Method Details

    • persist

      K persist(T entity)
      Persist a new entity.
      Parameters:
      entity - the entity to add
      Returns:
      the primary key