I have been trying to reduce the verbosity of custom queries under Query annotation. The one obvious way is not to write the package name in the Query annotation. In hibernate w