~/talk

From Anti-Pattern to Tool: The Hidden Benefits of an Open Session

TalkinRussianat Joker 2025 · 2025-10-17..10-18· [spring, databases]
links:none on file
links:none on file
slides:none on file

Talk examines Spring + JPA connection-pool exhaustion caused by @Transactional tying EntityManager creation, reserving a connection, and starting a DB transaction together. It explains that OSIV is the only built-in way to share an EntityManager without opening a transaction (considered an antipattern) and presents an approach to separate and control session, connection, and transaction lifecycles so connections can be managed more precisely.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Unit tests purpose
  3. 2:15Code walkthrough issues
  4. 4:01Removing transactional
  5. 6:32Extra select problem
  6. 8:59Hibernate update limits
  7. 10:44Manual connection management
  8. 12:32OSIV anti-pattern
  9. 13:55Enabling OSIV
  10. 15:39Fixing connection pool
  11. 16:43Lazy loading impact
  12. 18:47Release connections early
  13. 21:32OSIM concept
  14. 24:40Implementing OSIM
  15. 27:10Custom annotations justified
  16. 30:17Controllers vs services mapping
  17. 33:45Early loading problems
  18. 37:11Join fetch batch issues
  19. 40:24ASIM benefits
  20. 41:50Introducing ASIM
  21. 43:13Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.