Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated mp jpa intro - added link to mp jpa guide and API #1953

Merged
merged 2 commits into from
Jun 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 33 additions & 2 deletions docs/mp/jpa/01_introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,42 @@

///////////////////////////////////////////////////////////////////////////////

= JPA
= Helidon MP JPA
:toc:
:toc-placement: preamble
:spec-name: Jakarta Persistence
:description: {spec-name} support in Helidon MP
:keywords: helidon, mp, microprofile, persistence, database
:h1Prefix: MP

== Overview
Helidon MP supports JPA in much the same way that Java EE application
servers do, but with much less weight. If you come from a Java EE
background, you'll feel right at home: you work with JPA in Helidon MP
in all the ways that you're familiar with.

For example, in Helidon MP's JPA integration, you can work with a
fully managed `EntityManager` by injecting it in the same way you
would in a Java EE application server:

[source,java]
====
@PersistenceContext
private EntityManager em;
====

The Jakarta Persistence API is a specification that governs how Java
objects map to relational databases, and has existed since 2006.
Hibernate and Eclipselink, two of the most popular JPA
implementations, are supported by Helidon MP JPA.




== Next Steps
Learn more about the
https://jcp.org/en/jsr/detail?id=338[Java Persistence API (JPA)]

Configure and use the Java Persistence API (JPA) from
within a Helidon MP application. <<mp/guides/09_jpa.adoc, Helidon MP JPA Guide>>.

== This page is Under Construction and will be available soon