inflearn logo
강의

Course

Instructor

leeyw0010136784's honest review, Java ORM Standard JPA Programming - Basics course

leeyw0010136784

Reviews 2

Average rating 5

I use JPA in a team project, but until now, I had often developed by simply adding annotations and following example code, so there were many parts I did not properly understand internally. Through this course, I wanted to go through those areas one by one. The topics that impressed me the most were the persistence context and dirty checking. Our service also has a feature for partially modifying user settings, and once I understood that changing only the values of a retrieved entity causes the changes to be reflected when the transaction ends, I could see why the existing code had been written that way. I also learned that there is no need to make update logic unnecessarily complicated. The section on relationship mapping was also helpful. At first, I was confused about why it was necessary to designate the owner of a relationship, but the explanation of the reason made it much easier to understand. In particular, the advice to start with a unidirectional relationship rather than designing a bidirectional relationship from the beginning, and to add the bidirectional relationship only when necessary, gave me a useful guideline to refer to when designing actual entities. I also came to understand the reason behind lazy loading after learning how proxies work, rather than simply using the LAZY option without further thought. Through this course, I realized that simply using JPA and understanding its operating principles are two different things. From now on, rather than adding annotations just because I am familiar with them, I will try to write code while understanding the principles behind how each feature works. I would also like to apply what I learned to my team project and create clearer and more efficient entity designs.

1

yh

Lee Yun-woo, you’ve really studied thoroughly! You’ve done a great job of picking out and organizing the key points I consider important, haha. Thanks again for leaving a course review. I’m rooting for you!

0

yh

56 lectures

25717 enrolled

Java ORM Standard JPA Programming - Basics
5(2167 reviews)