Overview of the Java Persistence API

  • Describe the basics of Object Relational Mapping (ORM)
  • Define the key concepts of the Java Persistence API (entity, entity manager, and persistence unit)

Introducing the Auction Application

  • Describe the auction application
  • Define the domain objects of the auction application
  • Describe the implementation model for the auction system

Java Persistence API Entities

  • Describe the difference between objects and entities
  • Describe the difference between persistent fields and properties
  • Identify and use common Java Persistence API annotations, such as @Entity, @Id, @Table, and @Column

Understanding the Entity Manager

  • Describe the relationship between an entity manager, a persistence context, and a persistence unit
  • Describe the difference between a container-managed entity manager and an application-managed entity manager
  • Describe the entity life cycle

Modeling Entity Relationships

  • Examine association relationships in the data and object models
  • Use relationship properties to define associations
  • Implement one-to-one unidirectional associations
  • Implement one-to-one bidirectional associations
  • Implement many-to-one/one-to-many bidirectional associations
  • Implement many-to-many bidirectional associations
  • Implement many-to-many unidirectional associations
  • Examine fetch and cascade mode settings

Entity Inheritance and Object-Relational Mapping

  • Examine entity inheritance
  • Examining object/relational inheritance hierarchy mapping strategies
  • Inherit from an entity class
  • Inherit using a mapped superclass
  • Inherit from a non-entity class
  • Examine inheritance mapping strategies
  • Use an embeddable class

Persisting Enums and Collections

  • Persist entities that contain enums with @Enumerated
  • Persist entities that contain lists with @ElementCollection
  • Persist entities that contain maps with @ElementCollection

Introduction to Querying

  • Find an Entity by its primary key
  • Understand basic Java Persistence API query language queries
  • Understand native SQL queries
  • Understand basic Criteria API queries

Using the Java Persistence API Query Language

  • Examine the Java Persistence API query language
  • Create and use the SELECT statement
  • Create and use the UPDATE statement
  • Create and use the DELETE statement

Using the Java Persistence API Criteria API

  • Contrast queries that use the Criteria API with queries that use the Java Persistence query language
  • Describe the metamodel object approach to querying
  • Create Criteria API queries

Using the Java Persistence API in a Container

  • Use the Java Persistence API from a servlet
  • Use the Java Persistence API from a stateless session bean

Implementing Transactions and Locking

  • Describe the transaction demarcation management
  • Implement container-managed transactions (CMT)
  • Interact programmatically with an ongoing CMT transaction
  • Implement bean-managed transactions (BMT)
  • Apply transactions to the Java Persistence API

Advanced Java Persistence API Concepts

  • Specify composite primary keys
  • Override mappings with the @AttributeOverride and @AssociationOverride annotations
  • Understand entity listeners and callback methods

Java EE (4) -- Java EE 6 Java Persistence API Developer Certified Expert(1z0-898)的更多相关文章

  1. Java EE (2) -- Java EE 6 Enterprise JavaBeans Developer Certified Expert(1z0-895)

    Introduction to Java EE Gain an understanding of the Java Platform, Enterprise Edition (Java EE) Exa ...

  2. Java EE (3) -- Java EE 6 Web Services Developer Certified Expert(1z0-897)

    Create an SOAP web service in a servlet container Create a RESTful web service in a servlet containe ...

  3. Java EE (1) -- Java EE 6 Web Component Developer Certified Expert(1z0-899)

    1: hash map, hash tables 的区别 The HashMap class is roughly equivalent to Hashtable, except that it is ...

  4. Java EE (5) -- Java EE 6 JavaServer Faces Developer Certified Expert(1z0-896)

    Section 1: Essentials of JSF2.0 Identify the features of JSF such as Facelets, BookMarkable View, AJ ...

  5. Java SE/EE/ME概念理解(Java版本发展历史)

    继上一篇文章http://www.cnblogs.com/EasonJim/p/6181981.html中说的区别,其实分析的不够彻底,因此再次在这里做详细的分析. 零.Java与Sun.Oracle ...

  6. Java EE 7 / JAX-RS 2.0: Simple REST API Authentication & Authorization with Custom HTTP Header--reference

    REST has made a lot of conveniences when it comes to implementing web services with the already avai ...

  7. JAVA EE 运行环境配置(包含JAVA SE)

    JAVA EE 运行环境配置(包含JAVA SE) 1.下载并安装jre-7u7-windows-i586.exe (最新的JAVA运行环境) 2.下载并安装java_ee_sdk-6u4-jdk7- ...

  8. 各种容器与服务器的区别与联系 Servlet容器 WEB容器 Java EE容器 应用服务器 WEB服务器 Java EE服务器

    转自:https://blog.csdn.net/tjiyu/article/details/53148174 各种容器与服务器的区别与联系 Servlet容器 WEB容器 Java EE容器 应用服 ...

  9. Java Persistence API(转)

    定义 Java Persistence API JPA通过JDK 5.0注解或XML描述对象-关系表的映射关系,并将运行期的实体对象持久化到数据库中.[编辑本段]起源 Sun引入新的JPA ORM规范 ...

随机推荐

  1. drupal THEME主要文件

    **.info 文件** .info 文件是一个必需的文件:Drupal 必须包括它,才干看到主题. .info 文件告诉 Drupal 主题的内部名称.比如,假设这个文件的名称是 ibmtheme. ...

  2. iOS:点击button卡死

    场景:      在tableView的Cell中有一个button,我须要点击这个button然后使得其视图控制器上的一个视图改变frame,可是我点击这个button后,导致卡死,也不崩溃.所有事 ...

  3. 小侃#pragma

    #pragma是一个编译器指令. ================================================================ #pragma comment(li ...

  4. Delphi过程函数传递参数的八种方式

    今天一同事问我为什么有些过程函数里面有Var而有些没有,不解,遂到网上百度,得解.快哉,快哉. 在Delphi过程.函数中传递参数几个修饰符为Const.Var.Out.另一种不加修饰符的为默认按值传 ...

  5. PS中模式算法

    详见地址:http://www.68ps.com/zt/cs5/hh_zhengpian.htm

  6. password加密问题

    password加密问题 个人信息:就读于燕大本科软件project专业 眼下大三; 本人博客:google搜索"cqs_2012"就可以; 个人爱好:酷爱数据结构和算法,希望将来 ...

  7. 浅谈Swift语法

    Apple 在2014年6月的WWDC公布了一款新型的开发语言,很多美国程序猿的价值观貌似和我们非常大的不同,在公布的时候我们能够听到,场下的欢呼声是接连不断的.假设换作我们,特别是像有Objecti ...

  8. Socket简介 (转)

    Socket小白篇-附加TCP/UDP简介 Socket 网络通信的要素 TCP和UDP Socket的通信流程图 1.Socket 什么是Socket Socket:又称作是套接字,网络上的两个程序 ...

  9. hdu4738(双连通分量)

    传送门:Caocao's Bridges 题意:n个岛,曹操在一些岛之间建了一些桥,每个桥上有一些士兵把守,周瑜只有一个炸弹只能炸掉一个桥,并能使一些岛被孤立出来,炸弹需要士兵带过去,士兵的数量不能小 ...

  10. SonarQube升级

    1.阅读SonarQube更新日志: http://docs.codehaus.org/display/SONAR/Upgrading#Upgrading-ReleaseUpgradeNotes 2. ...