Myeclipse------->DB Browser------->找到要反向工程的表右键------->Hibernate Reverse Engineering------->选择存放目录------->CreatePOJO<>DB Table mapping information 打钩------->点选AddHibernate mapping annotations to POJO------->点选UpdateHibernate configuration with mapping resource location------->其他钩全部去掉------->finish