I don't have a problem with leaving these in, but it's usually the actual SQL that you would want to debug, and for that there is a hibernate setting that lets you format it. I guess you could still want to print HQL out to console, though not entirely sure why.