[JAVA] If you have trouble with JPA or Hibernate, don't google and look here first

Hibernate Various difficult. ..

If you think so, take a look at the Hibernate Official Documentation.

... what is natural! Is that the place? Lol

First of all, the official document! This may be obvious to those who are accustomed to it, but when you get stuck, you tend to search for "hibernate join" or "jpa small table".

However, *** For some reason, the official Google rating is extremely low ***, so even if you search for such words, surprisingly no official information will come out. Lol

Most of the search results show personal blogs and stackoverflow, but after all there are many ad hoc answers, and it tends to be like moving for the time being without understanding the formal usage, and then getting stuck again.

The formula is easy to understand

On the other hand, hibernate has a reputation for being too mysterious, but the documentation is surprisingly well written and easy to understand.

If you enter from domain model chapter of User Guide, there is an explanation of the entity that you usually see. So that's fine. Let's read this first to understand the basics of operation.

Well, there are still some mysterious behaviors that are painful when it's painful ... lol

When English is hard

… Eh, is English spicy?
There is a useful English translation chrome extension, so let's do our best to read it!

The result should definitely be faster than reading the fluffy information in Japanese and making trial and error. let's do our best! Lol

Recommended Posts

If you have trouble with JPA or Hibernate, don't google and look here first
If you have trouble with the character code problem in Myanmar (Burmese)
Ruby's fine syntax: if you have variables and methods with the same name
If you have trouble uploading Wordpress image files with KUSANAGI Runs on Docker