电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

ebean用户指南

ebean用户指南_第1页
1/77
ebean用户指南_第2页
2/77
ebean用户指南_第3页
3/77
Ebean v1.1.0 User Guide10th November 2008Please send feedback to rbygrave at yahoo dot com. All feedback greatfully received. Thanks, Rob.1 ContentsIntroductionFeatures OverviewMappingQueryTransactionsData TypesField access and Property accessProperty AccessField AccessEnhancement and Subclass generationSubclass GenerationEnhancement2 Introduction2.1 EbeanEbean is an open source Object Relational Mapping tool.It's goal is to provide a simpler alternative to JPA (Java Persistence API) implementations such as Hibernate and Toplink.It does this by providing a “sessionless” API and a simpler query language.That means: –No Session Object (or UnitOfWork or EntityManager)–No Attached or Detached Beans–No merge(), persist(), flush(), or clear(). Instead Ebean has save() and delete()I have found (so far) that this is a bit hard for many people familiar with JPA / Hibernate / Toplink etc to get their head around. The short answer is that Ebean, just like JPA has a Persistence Context but has some architectural differences to handle Extended Persistence Context in a different way.2.2 Why Ebean? ... why different from JPA?Ebean uses the JPA Mapping annotations and will follow those very closely.However, Ebean has been architected and built from a different perspective than JPA. The Architectural and Query Language differences are reasonably fundamental to both Ebean and JPA so its hard to see these differences going away anytime soon.It becomes a question of whether this different approach taken by Ebean has technical merit and has made Ebean an easier ORM to understand and use. 2.2.1 Architecture: Session / UnitOfWork / EntityManager JPA is architected to use an “EntityManager” which closely matches a Hibernate “Session”...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

ebean用户指南

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部