I'm experimenting with the Ceylon + Wildfly (JaxRS and JPA) and have a minor API change suggestion for ceylon.interop.java.Query.
TypedQuery has this signature signature but throws NoResultException if the entity is not found:
shared Result? getSingleResult()
I would expect this to either not return null or to allow null to mean "entity not found".
Below in the same file, QueryResults has this signature:
shared Anything getSingleResult()
This similar method (but pertaining to a stored proc query) catches NoResultException and returns null.