Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

entitygraph

What is the difference between FETCH and LOAD for Entity graph of JPA?

June 14, 2023 by Tarik

I will begin by answering the second part of your question. what is the specific situation when I need to use Fetch and Load? There are two primary ways to load an entity in JPA, eager loading and lazy loading. In eager loading, an entity is immediately loaded at the time its parent gets loaded. … Read more

Categories java Tags entitygraph, java, jpa Leave a comment

Spring Data JPA And NamedEntityGraphs

April 1, 2023 by Tarik

We ran into a similar problem and devised several prospective solutions but there doesn’t seem to be an elegant solution for what seems to be a common problem. 1) Prefixes. Data jpa affords several prefixes (find, get, …) for a method name. One possibility is to use different prefixes with different named graphs. This is … Read more

Categories jpa Tags entitygraph, fetch, jpa, spring-data-jpa Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa