JetBrains / jetbrains_guide

JetBrains Guides where Developer Advocacy and the community share ideas.
Other
164 stars 49 forks source link

Add a new Spring Data JPA Tutorial #175

Closed daliasheasha closed 3 years ago

daliasheasha commented 3 years ago

Added a new Spring Data JPA tutorial that looks at how to use Spring Data JPA to insert and query data from a database.

daliasheasha commented 3 years ago

@helenjoscott Thanks for the review! I made your recommended changes.

helenjoscott commented 3 years ago

The second link doesn't work for me, I'm not sure why!

On Mon, Jun 7, 2021 at 1:45 AM Dalia Abo Sheasha @.***> wrote:

@.**** commented on this pull request.

In sites/intellij-guide/contents/tutorials/getting-started-spring-data-jpa/creating-employee-entity/index.md https://github.com/JetBrains/jetbrains_guide/pull/175#discussion_r646212795 :

@@ -0,0 +1,100 @@ +--- +type: TutorialStep +date: 2021-06-02 +title: Creating an Employee Entity +technologies: [] +topics: [] +author: da +subtitle: Create a JPA entity representing an Employee. +thumbnail: ./thumbnail.png + +--- + +An Entity is a Java class representing data you want to insert into a database. For our application, we will create an Employee entity that we will use to insert Employee data into an Employee table in our database.

We could either add a link to the JPA spec chapter on entities: https://download.oracle.com/otn-pub/jcp/persistence-2_2-mrel-spec/JavaPersistence.pdf?AuthParam=1623026821_dca716f193492ec792f545aa7cdec618#G4.1410611

Or we could link to this page: https://docs.oracle.com/cd/E16439_01/doc.1013/e13981/undejbs003.htm

What do you think?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/JetBrains/jetbrains_guide/pull/175#discussion_r646212795, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFSMGPQJDQ67ZZ6HC5CEHDTRQJDLANCNFSM455U64ZQ .