code: public List<Subscription> findAllSubscriptions() {
          EntityManager entityManager = getEntityManager();
          try {
  			return entityManager
  					.createQuery("SELECT subscription FROM Subscription AS subscription", Subscription.class)
  					.getResultList();
  
  		} finally {
  			entityManager.close();
  		}
  	}
docs: findAllSubscriptions
  
  @return