ids for this class must be manually assigned before calling save():Xxx

把Xxx.hbm.xml主键生成策略改成identity

posted @ 2014-10-26 09:35  -六月飞雪-  阅读(3033)  评论(0编辑  收藏  举报