Writing custom query in jpa - times-crosswords.com