1:只要在hibernate.cfg.xml添加这句话,就可以自动生成数据表 <propertyname="hibernate.hbm2ddl.auto">update</property><propertyna 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交