It would be nice if com.blazebit.persistence.Queryable would offer alternative Methods for getSingleResult. In fact a Method which swallows NoResultsException and NonUniqueResultException. A proper Naming would be findSingleResult. As this two Exceptions are unchecked Exceptions, very often it is not very safe to use getSingleResult, unless you really know your data.
Maybe instead of findSingleResult a Method which returns an Optional could be a good solution too.
It would be nice if com.blazebit.persistence.Queryable would offer alternative Methods for getSingleResult. In fact a Method which swallows NoResultsException and NonUniqueResultException. A proper Naming would be findSingleResult. As this two Exceptions are unchecked Exceptions, very often it is not very safe to use getSingleResult, unless you really know your data.
Maybe instead of findSingleResult a Method which returns an Optional could be a good solution too.