JP-QL or HQL? What's the purpose of this method?