![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hibernate
文章平均质量分 76
rrxiaoxiaotiankong
这个作者很懒,什么都没留下…
展开
-
Hibernate属性配置
引用 Hibernate 配置属性 Hibernate JDBC属性 属性名 用途 hibernate.connection.driver_class jdbc驱动类 hibernate.connection.url jdbc URL hibernate.connection.username 数据库用户 hibernate.conn...原创 2011-09-07 11:51:56 · 70 阅读 · 0 评论 -
hibernate-------could not instantiate id generator
今天用Hibernate操作Mssql2005数据库设置主键竟出了问题,主键设为uuid.String,启动服务时报错:could not interpret id generator strategy: uuid.String查了些资料最后得出结论:在hibernate2.1中,主键生成策略中uuid分为uuid.hex和uuid.string,但是从hibernate3.0开始已经不再支持uu...原创 2012-09-27 11:24:43 · 162 阅读 · 0 评论