~/talk

OSIV: Turn It On, Don’t Turn It Off

TalkinRussianat SnowOne 2025 · 2025-02-28..03-01· [java, databases]
links:none on file
links:none on file
slides:none on file

The talk examines Spring’s open-in-view (OSIV) setting: what it actually does, why common guidance recommends disabling it early in a project, and what to do if issues appear but OSIV can’t be turned off immediately. The presenters analyze OSIV by experimenting with a Spring service, reading Hibernate source code, and reviewing how Spring manages transactions to determine whether OSIV must always be disabled and how to mitigate problems when disabling is difficult.

AI-written summary · about

  1. 0:00Introduction
  2. 3:29What is OSIV
  3. 7:59OSIV with connection pooling
  4. 14:42Returning entities from controllers
  5. 21:01OSIV and transaction boundaries
  6. 27:20Hibernate connection modes
  7. 31:11Spring transaction internals
  8. 35:47Fixing OSIV with Spring
  9. 41:44OSIV drawbacks and alternatives
  10. 45:34Q&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.