
hibernate
wuwenming101
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Hibernate三种容器(List,Set,Map)映射技术之Set映射 和Hibernat的延迟
环境: eclipse+myeclipse+mysql.(1) 建表脚本--删除表drop table if exists person ;drop table if exists email ;--新建表create table person( id int AUTO_INCREMENT not null primary key , name varchar(20) ) ;create ...2008-06-04 17:33:10 · 125 阅读 · 0 评论 -
Hibernate三种容器(List,Set,Map)映射技术之List映射
环境: eclipse+myeclipse+mysql.(1) 建表脚本--刪除表drop table if exists address ;drop table if exists person ;--創建表create table person( id int not null auto_increment primary key , name varchar(20) not nu...2008-06-05 15:43:05 · 107 阅读 · 0 评论 -
Hibernate三种容器(List,Set,Map)映射技术之Map映射
环境: eclipse+myeclipse+mysql.(1) 建表脚本--刪除表drop table if exists phone ;drop table if exists person ;--新建表create table person( id int not null AUTO_INCREMENT primary key , name varchar(20) , age ...2008-06-05 15:46:10 · 245 阅读 · 0 评论 -
数据关联关系之一(一对一)--Hibernate解决方案.
大家在做开发的时候一定会用到表与表之间一对一的关系. 在学习数据的关联关系时候,请把容器映射看一看.不然不容易理解关联关系. 环境: Myeclispe+mysql.(1) 创建表--刪除表drop table if exists email ;drop table if exists person ;--新建表create table person( id int not n...2008-06-06 12:00:20 · 186 阅读 · 0 评论 -
数据关联关系之二(一对多)--Hibernate解决方案.
在学习数据的关联关系时候,请把容器映射看一看.不然不容易理解关联关系. 环境: Myeclispe+mysql.(1) 创建表--删除表drop table if exists book ;drop table if exists person;--新建表create table person( pid int not null auto_increment primary key , na...2008-06-06 17:23:38 · 110 阅读 · 0 评论