@Transactional
  public void create(PrincipalEntity entity) {
    create(Arrays.asList(entity));
  }
Make an instance managed and persistent.

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