HqlGenerateException is a RuntimeException now.