Java Persistence API: Configuring Fields & Performing CRUD Operations

Java JPA
  • 24 Videos | 2h 11m 18s
  • Includes Assessment
  • Earns a Badge
Likes 3 Likes 3
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

  • Playable
    1. 
    Course Overview
    2m 7s
    UP NEXT
  • Playable
    2. 
    The Primary Key
    7m 37s
  • Locked
    3. 
    Configuring the Table Name
    2m 49s
  • Locked
    4. 
    Generated Values for Primary Keys
    4m 53s
  • Locked
    5. 
    Generation Types AUTO and IDENTITY
    4m 29s
  • Locked
    6. 
    Generation Type IDENTITY for Multiple Tables
    5m 47s
  • Locked
    7. 
    Generation Type SEQUENCE for Primary Keys
    5m 33s
  • Locked
    8. 
    Generation Type TABLE for Primary Keys
    11m 32s
  • Locked
    9. 
    Composite Keys Using Embeddable and Id
    10m 26s
  • Locked
    10. 
    Composite Keys Using EmbeddedId
    2m 50s
  • Locked
    11. 
    Composite Keys Using IdClass
    2m 49s
  • Locked
    12. 
    The Column Annotation
    6m 20s
  • Locked
    13. 
    Precision and Scale Specification
    4m 57s
  • Locked
    14. 
    Not Null and Uniqueness Constraints
    3m 31s
  • Locked
    15. 
    Non-persistable Fields With Transient
    4m 12s
  • Locked
    16. 
    Temporal Annotation for Date Fields
    4m 31s
  • Locked
    17. 
    Lob Annotation for Large Objects
    5m 37s
  • Locked
    18. 
    Embeddable Entities for Persistent Fields
    4m 16s
  • Locked
    19. 
    Sharing Embeddable Objects
    2m 54s
  • Locked
    20. 
    Begin and Commit Transactions
    6m 51s
  • Locked
    21. 
    Read Operations
    5m 55s
  • Locked
    22. 
    Update and Delete Operations
    3m 50s
  • Locked