~/talk

There is always a choice. Spring Data JDBC vs. Hibernate. Taras Boychuk. Java Fest 2020 Online

Talkat Java Fest 2020 · on Saturday, 2020-03-21· [java, databases]
links:none on file
slides:none on file

Compares Hibernate’s full JPA stack (Spring Boot, H2, Spring Data JPA, Lombok, Flyway) with Spring Data JDBC and demos a small app with Person and Note entities. Shows that without @Transactional required updates don’t flush, that adding Cascade.PERSIST fixes orphan inserts, and that default lazy loading causes n+1 selects and depends on Open Session in View. Explains Hibernate internals: session/persistence context, action queue and flush ordering, and argues Spring Data JDBC is simpler—no session, no dirty‑checking, aggregate‑root oriented.

AI-written summary · about

  1. 0:00Introduction
  2. 5:12Spring Initializer
  3. 8:22Hibernate
  4. 11:02Person Repository
  5. 13:08Generate Person
  6. 15:55Change State
  7. 20:28Change Endpoint
  8. 21:24Hibernate Example
  9. 31:07Hibernate Lazy Loading
  10. 33:54Hibernate Entity Manager
  11. 38:54Hibernate Session Boundaries
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.