最新文章列表

18.hibernate多对多单向关联

package com.bjsxt.hibernate; import java.util.HashSet; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import ja ...
xukongmoji 评论(0) 有750人浏览 2011-11-25 12:17

16.hibernate一对多单向关联

package com.bjsxt.hibernate; import java.util.HashSet; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import ja ...
xukongmoji 评论(0) 有765人浏览 2011-11-25 12:16

15.hibernate多对一单向关联

package com.bjsxt.hibernate; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence ...
xukongmoji 评论(0) 有829人浏览 2011-11-24 00:48

6.hibernate一对一单向外键关联,jpa映射

husband表结构: wife表结构 package com.bjsxt.hibernate; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; i ...
xukongmoji 评论(0) 有1702人浏览 2011-11-23 19:40

5.hibernate一对一单向外键关联,xml映射

stuidcard表结构: student表结构: package com.bjsxt.hibernate; public class StuIdCard { private int id; private String num; private Student student; public int getId() { return id; } publ ...
xukongmoji 评论(0) 有462人浏览 2011-11-21 18:25

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54918) .net(54785) Web(54513) 工作(54116) Linux(50906) Oracle(49876) 应用服务器(43288) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36423)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics