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. sharepoint 2010 显示和隐藏Ribbon区域条

    在sharepoint 2010的页面中,我们在页面的最上方,有一条深灰色的Ribbon工具栏,如下图,这里可以通过下面的脚本,做一些脚本,来控制它的隐藏和显示. 最后把这些脚本,放在v4.maste ...

  2. 利用手工编码的方式对srtus2进行输入验证

    对action方法进行校验有两种方法一种是: 1手工编码书写 2一种是用xml 输入校验的流程: 1类型转化器对请求参数执行类型转化,并把转换后的值赋给action属性. 2.如果执行类型转化的过程中 ...

  3. hibernate学习(二)

    hibernate 单向一对多映射 一.数据表设计 数据库名:hibernate5 数据表: ①表名:CUSTOMERS 字段: CUSTOMER_ID  CUSTOMER_NAME ②表名:ORDE ...

  4. [Android阅读代码]android-async-http源码学习一

    android-async-http 下载地址 一个比较常用的Http请求库,基于org.apache.http对http操作进行封装. 特点: 1.每一个HTTP请求发生在UI线程之外,Client ...

  5. java图形

    JFreeCharteclipse图形化编程插件jigloojfaceibm的jface基于swt,swing解决了awt存在的lcd问题.swing组件:container,window,frame ...

  6. UVA 10892 LCM Cardinality(数论 质因数分解)

    LCM Cardinality Input: Standard Input Output: Standard Output Time Limit: 2 Seconds A pair of number ...

  7. Hibernate学习之createSQLQuery与createQuery的区别及使用

    hibernate中createQuery与createSQLQuery:前者用的hql语句进行查询,后者可以用sql语句查询,前者以hibernate生成的Bean为对象装入list返回,后者则是以 ...

  8. spark的action和transformations汇集

    汇总了Spark支持的Transformations 和Actions 用于备忘! 參考 http://spark.apache.org/docs/latest/programming-guide.h ...

  9. 使用POI生成Excel报表

    先把报表模板截图贴上来 下面是POI编写的报表生成类ExcelReport.java package com.jadyer.report; import java.io.FileNotFoundExc ...

  10. SE 2014年4月25日

    1. 描述 STP 的计算过程 (1.根桥的选举 2.端口角色的确定) 根桥的选举 启用STP后,网络中桥ID最小的交换机会被选为根桥,桥ID由桥优先级和桥MAC两部分组成,优先级默认为32768,首 ...