Skip to content

Commit 361e497

Browse files
committed
Docs: Expand glossary with core JPA and Spring Data terms.
As a first-time contributor, I noticed the glossary section had only 9 terms. I've added 5 commonly used JPA and Spring Data terms that developers frequently encounter: - EntityManager: JPA interface for persistence operations - JPQL: Jakarta Persistence Query Language - Persistence Context: Entity instances managed by EntityManager - Query Methods: Method name-based query derivation - Repository: Central interface for CRUD operations I included Wikipedia links for JPA standard terms to maintain consistency with the existing style (similar to Dependency Injection). This is my first contribution to Spring Data JPA. I hope these additions help developers better understand the terminology. Please let me know if any changes are needed. Signed-off-by: Byeongju Ju <[email protected]> Signed-off-by: GoToBILL <[email protected]>
1 parent 32a4286 commit 361e497

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/antora/modules/ROOT/pages/jpa/glossary.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ Dependency Injection :: Pattern to hand a component's dependency to the componen
1616

1717
EclipseLink :: Object relational mapper implementing JPA - link:$$https://www.eclipse.org/eclipselink/$$[https://www.eclipse.org/eclipselink/]
1818

19+
EntityManager :: JPA interface used to interact with the persistence context. It provides methods to perform operations such as persisting, merging, removing, and querying entities. For more information, see link:$$https://en.wikipedia.org/wiki/Jakarta_Persistence#EntityManager$$[https://en.wikipedia.org/wiki/Jakarta_Persistence#EntityManager].
20+
21+
JPQL :: Jakarta Persistence Query Language - An object-oriented query language similar to SQL but operates on entity objects rather than database tables. For more information, see link:$$https://en.wikipedia.org/wiki/Jakarta_Persistence_Query_Language$$[https://en.wikipedia.org/wiki/Jakarta_Persistence_Query_Language].
22+
23+
Persistence Context :: A set of entity instances managed by the EntityManager. Entities within the persistence context are automatically synchronized with the database. For more information, see link:$$https://en.wikipedia.org/wiki/Jakarta_Persistence#Persistence_context$$[https://en.wikipedia.org/wiki/Jakarta_Persistence#Persistence_context].
24+
25+
Query Methods :: Repository methods that derive queries from their method names, eliminating the need to write explicit queries for simple cases.
26+
27+
Repository :: Central interface in Spring Data for generic CRUD operations on a specific type. Provides methods like save, findById, findAll, and delete.
28+
1929
Hibernate :: Object relational mapper implementing JPA - link:$$https://hibernate.org/$$[https://hibernate.org/]
2030

2131
JPA :: Jakarta Persistence API

0 commit comments

Comments
 (0)