javax.persistence.noresultexception: не найдено сущность для запроса

Yes. You need to use the try/catch block, but no need to catch the Exception. 
As per the API it will throw NoResultException if there is no result, and its 
up to you how you want to handle it.

for example :: 
DrawUnusedBalance drawUnusedBalance = null;
try{
drawUnusedBalance = (DrawUnusedBalance)query.getSingleResult()
catch (NoResultException nre){
}
android developer