@Transactional
  protected void create(E entity) {
    entityManagerProvider.get().persist(entity);
  }
Creates entity.

@param entity entity to create
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/CrudDAO.java