编写hibernate核心配置文件hibernate.cfg.xml后,再次打开核心配置文件出现This project is not a myeclipse hibernate project. Assuming hibernate 3 capabilites for the configuration editor提示:
解决方法:
右键项目名称 → Myeclipse → Add Hibernate Capabilites → next → Hibernate Config File → 选择existing → 找到自己编写的核心配置文件hibernate.cfg.xml → next → 选择不生成factory class → end