1、安装Eclipse hibernate tools插件 1) 或2)
1)http://download.jboss.org/jbosstools/updates/stable/kepler/
2)
Help->Eclipse Marketplace里面
Hibernate Tools 已经被Jboss 收购了变成Jboss Tools了
搜索Jboss
http://blog.youkuaiyun.com/wangpeng047/article/details/6877720
3、报错
org.hibernate.cfg.JDBCBinderException: Duplicate class name 'hibernate.AllFileGroups' generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)' Duplicate class name
答案:http://blog.youkuaiyun.com/jayjjb/article/details/7693594