Exception in thread "main" org.hibernate.exception.SQLGrammarException: could not execute query
出现此问题,因为Hibernate Tools(或者Eclipse本身的Database Explorer)生成*.hbn.xml工具中包含有catalog="数据库名称",把这个属性删除即可!
出现此问题,因为Hibernate Tools(或者Eclipse本身的Database Explorer)生成*.hbn.xml工具中包含有catalog="数据库名称",把这个属性删除即可!