@Transactional
  public void create(BlueprintEntity blueprintEntity) {
    ensureStackIdSet(blueprintEntity);
    entityManagerProvider.get().persist(blueprintEntity);
  }
Make an instance managed and persistent.

@param blueprintEntity  entity to persist
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/BlueprintDAO.java