Java Persistence API: Configuring Fields & Performing CRUD Operations

Java    |    Intermediate
  • 24 videos | 2h 18s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 35 users Rating 4.5 of 35 users (35)
In this course, you'll explore how primary keys can be set up for the tables underlying your entities and how you can manage the configuration of individual columns in your database columns using JPA annotations. You'll learn how to perform create, read, update, and delete operations using the JPA entity manager. Once you're done with this course, you'll be able to structure your entities and their attributes based exactly on your specifications and perform basic storage and retrieval operations using JPA and Hibernate.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Recognize the primary key as a required field
    Configure the table name using the @table annotation
    Use @generatedvalue to generate primary key values
    Contrast the auto and identity genaration types
    Use the identity generation type for multiple tables
    Use the sequence generation type
    Use the table generation type
    Configure composite keys using @embeddable and @id annotations
    Configure composite keys using @embeddedid annotation
    Configure composite keys using the @idclass annotation
    Apply the @column annotation to define columns
  • Specify precision and scale values for floating point columns
    Specify not null and uniqueness constraints
    Annotate non-persistable fields using @transient
    Use the @temporal annotation for date fields
    Use the @lob annotation for large objects
    Configure embeddable entities as persistent fields
    Share embeddable objects across entities
    Use begin and commit transactions
    Perform read operations on database entities
    Perform update and delete operations on entities
    Specify entity attributes using xml
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 7s
  • 7m 37s
    After completing this video, you will be able to recognize the primary key as a required field. FREE ACCESS
  • Locked
    3.  Configuring the Table Name
    2m 49s
    Learn how to configure the table name using the @Table annotation. FREE ACCESS
  • Locked
    4.  Generated Values for Primary Keys
    4m 53s
    In this video, learn how to use @GeneratedValue to generate primary key values. FREE ACCESS
  • Locked
    5.  Generation Types AUTO and IDENTITY
    4m 29s
    Find out how to contrast the AUTO and IDENTITY generation types. FREE ACCESS
  • Locked
    6.  Generation Type IDENTITY for Multiple Tables
    5m 47s
    In this video, learn how to use the IDENTITY generation type for multiple tables. FREE ACCESS
  • Locked
    7.  Generation Type SEQUENCE for Primary Keys
    5m 33s
    In this video, learn how to use the SEQUENCE generation type. FREE ACCESS
  • Locked
    8.  Generation Type TABLE for Primary Keys
    11m 32s
    During this video, you will learn how to use the TABLE generation type. FREE ACCESS
  • Locked
    9.  Composite Keys Using Embeddable and Id
    10m 26s
    In this video, find out how to configure composite keys using the @Embeddable and @Id annotations. FREE ACCESS
  • Locked
    10.  Composite Keys Using EmbeddedId
    2m 50s
    To configure composite keys, use the @EmbeddedId annotation. FREE ACCESS
  • Locked
    11.  Composite Keys Using IdClass
    2m 49s
    In this video, learn how to configure composite keys using the @IdClass annotation. FREE ACCESS
  • Locked
    12.  The Column Annotation
    6m 20s
    In this video, you will apply the @Column annotation to define columns in a database. FREE ACCESS
  • Locked
    13.  Precision and Scale Specification
    4m 57s
    After completing this video, you will be able to specify precision and scale values for floating point columns. FREE ACCESS
  • Locked
    14.  Not Null and Uniqueness Constraints
    3m 31s
    After completing this video, you will be able to specify not null and uniqueness constraints. FREE ACCESS
  • Locked
    15.  Non-persistable Fields With Transient
    4m 12s
    During this video, you will learn how to annotate non-persistent fields using @Transient. FREE ACCESS
  • Locked
    16.  Temporal Annotation for Date Fields
    4m 31s
    Find out how to use the @Temporal annotation for date fields. FREE ACCESS
  • Locked
    17.  Lob Annotation for Large Objects
    5m 37s
    In this video, learn how to use the @Lob annotation for large objects. FREE ACCESS
  • Locked
    18.  Embeddable Entities for Persistent Fields
    4m 16s
    In this video, you will learn how to configure embeddable entities as persistent fields. FREE ACCESS
  • Locked
    19.  Sharing Embeddable Objects
    2m 54s
    Find out how to share embeddable objects across different entities. FREE ACCESS
  • Locked
    20.  Begin and Commit Transactions
    6m 51s
    Learn how to use start and commit transactions. FREE ACCESS
  • Locked
    21.  Read Operations
    5m 55s
    In this video, you will learn how to perform read operations on database entities. FREE ACCESS
  • Locked
    22.  Update and Delete Operations
    3m 50s
    In this video, you will learn how to perform update and delete operations on entities. FREE ACCESS
  • Locked
    23.  Entity Specification Using XML
    4m 52s
    Upon completion of this video, you will be able to specify entity attributes using XML. FREE ACCESS
  • Locked
    24.  Course Summary
    1m 41s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.5 of 34 users Rating 4.5 of 34 users (34)
Rating 4.6 of 32 users Rating 4.6 of 32 users (32)
Rating 4.3 of 47 users Rating 4.3 of 47 users (47)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 152 users Rating 4.4 of 152 users (152)
Rating 4.5 of 273 users Rating 4.5 of 273 users (273)
Rating 4.5 of 42 users Rating 4.5 of 42 users (42)