HowToDoInJava

  • Python
  • Java
  • Spring Boot
  • Dark Mode

JPA Tutorials

The Java Persistence API (JPA) is a Java application programming interface specification that describes the management of relational data in applications using Java Platform, Standard Edition and Java Platform, Enterprise Edition.

This page lists down all tutorials available on this blog related to JPA.

JPA Basics

Field vs Property vs Mixed Access modes

CRUD Operations

JPA hello world example
Configure JPA without persistence.xml

Find Entity Example
Save/Persist Entity Example
Remove/Delete Entity Example

Many-to-One Entity Mapping Example
One-to-One Entity Mapping Example
One-to-Many Entity Mapping Example
Many-to-Many Entity Mapping Example

Native SELECT SQL Query Example
Native UPDATE SQL Query Example
Native DELETE SQL Query Example
Executing Stored Procedure

Bulk Update and Delete SQL Queries Example
Mapping entity to multiple tables
JPA Pagination Query Example

Embedded Object Example
Collections List Example
Collections HashMap Example

Transaction Management

Transaction Management Tutorial
Container-managed Transactions Example
Bean-managed Transactions Example

Integration

Spring hibernate JPA example
How to test JPA DAO layer
How to execute SQL scripts to initialize database at application startup

Related

[Workaround] NotYetImplementedException: Pure native scalar queries are not yet supported
[Solved] HsqlException: data exception: invalid character value for cast
[Solved] org.hibernate.QueryException: Cannot mix named and positional parameters

Happy Learning !!

Was this post helpful?

Let us know if you liked the post. That’s the only way we can improve.
TwitterFacebookLinkedInRedditPocket

Feedback, Discussion and Comments

  1. OSMAN

    December 25, 2016

    hello,

    there are an exemple application to improve my knlolage

    best regards,

Comments are closed on this article!

Search Tutorials

Meta Links

  • About Me
  • Contact Us
  • Privacy policy
  • Advertise
  • Guest and Sponsored Posts

Recommended Reading

  • 10 Life Lessons
  • Secure Hash Algorithms
  • How Web Servers work?
  • How Java I/O Works Internally?
  • Best Way to Learn Java
  • Java Best Practices Guide
  • Microservices Tutorial
  • REST API Tutorial
  • How to Start New Blog

Copyright © 2020 · HowToDoInjava.com · All Rights Reserved. | Sitemap

  • Sealed Classes and Interfaces