hbm2ddl.auto设置为update时不能工作排查方法!
问题描述:在调试hibernate的时候发现设置hbm2ddl.auto设置为update是不能工作,eclipse中报如下错误:Hibernate: insert into news (title, content) values (?, ?)Exception in thread "main" org.hibernate.exception.SQLGrammarException:
原创
2012-02-20 22:49:09 ·
2997 阅读 ·
3 评论