理想与现实的距离
看的多,记性小,忘性大,所以点滴记录
导航
BlogJava
首页
新随笔
联系
聚合
管理
统计
随笔 - 5
文章 - 0
评论 - 0
引用 - 0
常用链接
我的随笔
我的评论
我的参与
留言簿
(1)
给我留言
查看公开留言
查看私人留言
随笔分类
(5)
Hibernate(1)
(rss)
JavaScript
(rss)
Java基础
(rss)
JEE应用(1)
(rss)
OpenSource
(rss)
Oracle(1)
(rss)
Spring(1)
(rss)
WAP开发(1)
(rss)
随笔档案
(5)
2006年4月 (5)
相册
PostImage
搜索
最新评论
阅读排行榜
1. Spring配置点滴(一)(847)
2. Oracle之usr_tab_columns表(496)
3. WAP开发点滴(433)
4. Hibernate2.X配置点滴(一)(338)
5. Cookie问题(213)
Hibernate2.X配置点滴(一)
1
<
composite
-
id name
=
"
comp_id
"
class
=
"
com.xuanwu.wap.king.model.persistence.TblKingUserAgaPK
"
unsaved
-
value
=
"
null
"
>
2
<
key
-
many
-
to
-
one name
=
"
user
"
column
=
"
N_USER_ID
"
class
=
"
com.xuanwu.wap.king.model.persistence.TblKingUser
"
>
3
</
key
-
many
-
to
-
one
>
4
<
key
-
many
-
to
-
one name
=
"
aga
"
column
=
"
N_AgA_ID
"
class
=
"
com.xuanwu.wap.king.model.persistence.TblKingAga
"
>
5
</
key
-
many
-
to
-
one
>
6
</
composite
-
id
>
1
<
many-to-one
name
="tblKingAga"
class
="com.xuanwu.wap.king.model.persistence.TblKingAga"
update
="false"
insert
="false"
>
2
<
column
name
="N_AGA_ID"
/>
3
</
many-to-one
>
1
<
set
name
="tblKingUserAgas"
lazy
="true"
inverse
="true"
cascade
="none"
>
2
<
key
>
3
<
column
name
="N_AGA_ID"
/>
4
</
key
>
5
<
one-to-many
class
="com.xuanwu.wap.king.model.persistence.TblKingUserAga"
/>
6
</
set
>
1
<
id
name
="id"
type
="java.lang.Long"
column
="id"
>
2
<
generator
class
="sequence"
>
3
<
param
name
="sequence"
>
seq_user_id
</
param
>
4
</
generator
>
5
</
id
>
1
<
one-to-one
name
="userData"
class
="com.xuanwu.wap.union.journey.data.model.TJourneyUserData"
cascade
="all"
property-ref
="user"
/>
2
<
many-to-one
name
="roleData"
cascade
="none"
class
="com.xuanwu.wap.union.journey.data.model.TJourneyRoleData"
column
="roleid"
/>
3
<
set
name
="userNPC"
cascade
="all"
inverse
="true"
lazy
="true"
>
4
<
key
column
="userid"
></
key
>
5
<
one-to-many
class
="com.xuanwu.wap.union.journey.data.model.TJourneyUserNpc"
/>
6
</
set
>
7
<
set
name
="userGoods"
cascade
="all"
inverse
="true"
lazy
="true"
>
8
<
key
column
="userid"
></
key
>
9
<
one-to-many
class
="com.xuanwu.wap.union.journey.data.model.TJourneyUserGood"
/>
10
</
set
>
posted on 2006-04-19 17:07
爱你.福利
阅读(338)
评论(0)
编辑
收藏
所属分类:
Hibernate
新用户注册
刷新评论列表
只有注册用户
登录
后才能发表评论。
网站导航:
博客园
IT新闻
Chat2DB
C++博客
博问