jpa 356

  1. JPA EntityManager: Why use persist() over merge()?
  2. What's the difference between JPA and Hibernate?
  3. Difference between FetchType LAZY and EAGER in Java Persistence API?
  4. JPA JoinColumn vs mappedBy
  5. Hibernate cannot simultaneously fetch multiple bags
  6. Create the perfect JPA entity
  7. What is difference between CrudRepository and JpaRepository interfaces in Spring Data JPA
  8. The JPA hashCode() / equals() dilemma
  9. Why does JPA have a @Transient annotation?
  10. Hibernate SessionFactory vs. EntityManagerFactory
  11. Setting default values for columns in JPA
  12. Hibernate vs JPA vs JDO - pros and cons of each?
  13. Making a OneToOne-relation lazy
  14. JPA fastest way to ignore a field during persistence?
  15. Map enum in JPA with fixed values?
  16. In a bidirectional JPA OneToMany/ManyToOne association, what is meant by “the inverse side of the association”?
  17. Make hibernate ignore class variables that are not mapped
  18. Spring Boot - Cannot determine embedded database driver class for database type NONE
  19. JPA OneToMany not deleting child
  20. JPA @ManyToOne with CascadeType.ALL
  21. How to persist a property of type List<String> in JPA?
  22. No Persistence provider for EntityManager named
  23. JPA CascadeType.ALL does not delete orphans
  24. How to view the SQL queries issued by JPA?
  25. JPA/Hibernate: detached entity passed to persist
  26. Mapping many-to-many association table with extra column(s)
  27. JPA 2.0 orphanRemoval=true VS on delete Cascade
  28. hibernate exception: org.hibernate.AnnotationException: No identifier specified for entity: com..domain.idea.MAE_MFEView
  29. What is the difference between persist() and merge() in Hibernate?
  30. JPA “@JoinTable” annotation
  31. @Column(s) not allowed on a @ManyToOne property
  32. How does Spring Data JPA differ from Hibernate for large projects?
  33. Hibernate Annotations - Which is better, field or property access?
  34. Correct use of flush() in JPA/Hibernate
  35. @UniqueConstraint annotation in Java
  36. Do I need <class> elements in persistence.xml?
  37. Can javax.persistence.Query.getResultList() return null?
  38. JPA: what is the proper pattern for iterating over large result sets?
  39. How to load lazy fetched items from Hibernate/JPA in my controller
  40. Hibernate JPA Sequence (non-Id)
  41. JPA : How to convert a native query result set to POJO class collection
  42. Why is Hibernate Open Session in View considered a bad practice?
  43. JPQL IN clause: Java-Arrays (or Lists, Sets…)?
  44. Which annotation should I use: @IdClass or @EmbeddedId
  45. ConcurrentModificationException and a HashMap
  46. JPA eager fetch does not join
  47. Please explain about: insertable=false, updatable=false
  48. Hibernate: Automatically creating/updating the db tables based on entity classes
  49. When to use EntityManager.find() vs EntityManager.getReference()
  50. How to choose the id generation strategy when using JPA and Hibernate