@RequiresSession
  public List<AmbariConfigurationEntity> findByCategory(String categoryName) {
    TypedQuery<AmbariConfigurationEntity> query = entityManagerProvider.get().createNamedQuery(
        "AmbariConfigurationEntity.findByCategory", AmbariConfigurationEntity.class);
    query.setParameter("categoryName", categoryName);
    return daoUtils.selectList(query);
  }
Returns the Ambari configuration properties with the requested category name from the database.

@param categoryName the configuration category name
@return the configuration entity
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AmbariConfigurationDAO.java