摘要: 在hibernate.cfg.xml配置了<property name="hibernate.hbm2ddl.auto">update</property>自动创建表,但是项目启动会报 table doesn't exists 可能原因是主键策略设置的是native 而类里的id类型是String 阅读全文
posted @ 2018-04-03 11:38 此地 阅读(523) 评论(0) 推荐(0) 编辑