code: protected <Y> List<T> getListByAttribute(SingularAttribute<T, Y> attribute, Y value) {
          return getDatabaseSupport().getListByAttribute(getEntityClass(), attribute, value);
      }
docs: Gets the entities that have the target value of the specified attribute.
  
  @param <Y> the type of the attribute and target value.
  @param attribute the attribute of the entity to compare.
  @param value the target value of the given attribute.
  
  @return the matching entities. Guaranteed not <code>null</code>.