
Hibernate 3.2
文章平均质量分 86
iteye_15768
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2009-04-09 | Hibernate关联映射 (多对一、一对一单双向)
多对一映射 <many-to-one> //User.hbm.xml <hibernate-mapping> <class name="User" table="t_user"> <id name="id"> <generator class="native"/> &原创 2009-04-15 19:08:51 · 85 阅读 · 0 评论 -
2009-04-16 | Hibernate关联映射 (一对多单双向)
Hibernate关联映射 一对多单向<one-to-many> 单向Classes----->Student //Classes.hbm.xml <hibernate-mapping > <class name="Classes" table="t_classes"> <...原创 2009-04-16 21:41:49 · 77 阅读 · 0 评论 -
2009-04-16 | Hibernate关联映射 (多对多单双向)
多对多单向 User --->Role //User.hbm.xml <hibernate-mapping> <class name="User" table="t_user"> <id name="id"> <gen原创 2009-04-18 14:01:32 · 86 阅读 · 0 评论 -
2009-04-16 | Hibernate关联映射 (继承映射)
1.每棵继承树映射成一张表 t_animal id name sex weight height type 1 Pig-1 F 100 P 2 Bird-1 M 50 B ...原创 2009-04-19 10:27:03 · 151 阅读 · 0 评论 -
2009-04-16 | Hibernate关联映射 (常用集合映射)
Hibernate关联映射 (常用集合映射) <hibernate-mapping> <class name="CollectionMapping" table="t_CollectionMapping"> <id name="id"> <generator cla原创 2009-04-19 19:23:16 · 114 阅读 · 0 评论 -
Exception: No CurrentSessionContext configured!
异常堆栈: org.hibernate.HibernateException: No CurrentSessionContext configured! at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:540) at managers.UserManagerImpl...原创 2009-04-26 17:05:00 · 214 阅读 · 0 评论