Jpa Nvl

Dae pessoal alguém sabe algum função semelhante a “nvl” em jpa ?

algo do tipo


 javax.persistence.Query ql =  em.createQuery("SELECT nvl(sum(c.value),0) " +  "from mytable as c");  
         

Abraços.