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

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