Howtogethibernatetoprintoutwhatswrongwithanamedquery?在我的Spring/Hibernate/JPA应用程序中,我使用了很多命名查询,当我在其中一个查询中出现拼写错误时,会在我的应用程序启动日志文件中看到类似于下面的错误。12345Causedby:org.hibernate.HibernateException:Errorsinnamedqueries:FindAllCompanyFileTypes atorg.hibernate.impl.SessionFactoryImpl.init>(SessionFactoryImpl.java: