
hibernate
喵喵喵喵哎呦
我是个java菜鸟在努力学飞中....定有一天能够飞向属于我自己的绚丽多彩天空
展开
-
No TransactionManagerLookup specified
程序代码: public void addStudent(Student student) { Session session=null; try { //通过工具类HibernateSessionFactory的方法getSessionFactory()获取Session// session=HibernateSessionFactory.getSession原创 2013-07-19 09:56:20 · 3157 阅读 · 1 评论 -
实体类注解错误:Could not determine type for: java.util.Set
今天配置实体类注解时,出现以下错误: Caused by: org.hibernate.MappingException: Could not determine type for: java.util.List, at table: ss_user, for columns: [org.hibernate.mapping.Column(role_list)]解决方案转载 2013-08-09 14:55:02 · 2092 阅读 · 0 评论