新的起点 新的开始

快乐生活 !

JPA 设计模式系列

       目前,在我们实际开发中还缺乏对JPA应用的最佳实践,本文来自Vincent Partington ,他在实践中总结了诸多JPA优秀的设计模式,本系列将谈论他的12个在JPA中的设计模式。

基本的设计模式:

    1. Data Access Objects.

    2.Saving(detached)entities
   
    3. Retrieving entities.

    4. Removing entitids.

    5.  Service Faceds and Data Transfers Objects.

高级的设计模式

     6. Bidirectional Assocations

     7. Lazy Loading

     8. Bidrectional associations VS lazy loading

     9.  Using UUIDs as primary key

     10. Field access VS property access
  
     11.  Mapping inheritance hierarchies

     12. Testing.

posted on 2009-07-18 10:11 advincenting 阅读(1574) 评论(3)  编辑  收藏 所属分类: java EE

评论

# re: JPA 设计模式系列 2009-07-18 11:05 99读书人

不错!来看看  回复  更多评论   

# re: JPA 设计模式系列 2009-07-18 14:05 高处为0

@99读书人
谈论不会就个目录吧,期待下篇  回复  更多评论   

# re: JPA 设计模式系列 2009-07-20 10:35 于翔

赶紧  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 

公告

Locations of visitors to this page

导航

<2009年7月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

统计

常用链接

留言簿(13)

随笔分类(71)

随笔档案(179)

文章档案(13)

新闻分类

IT人的英语学习网站

JAVA站点

优秀个人博客链接

官网学习站点

生活工作站点

最新随笔

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜