7±2 things you didn't know about Exposed
summary
Seven concrete takeaways about Exposed include how many‑to‑many uses the via function to infer join columns, date handling requires choosing Joda Java time or kotlinx‑datetime, and logging differentiates between the transaction logger and prepareSQL which returns SQL with placeholders not parameters. Coroutine support uses newSuspendedTransaction with subtle nesting semantics that can reuse or create independent transactions. There are typed null literals, entity mapping helpers that avoid detached entities, entity hooks for auditing, and an exec escape hatch.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:38The data model
- 8:32Many-to-many relationship
- 12:50Date support
- 15:22Logging
- 19:07Coroutines support
- 24:08Null expression
- 29:55From SQL DSL to DAO Entities
- 32:40Listening to changes
- 35:34Custom DB enums
- 39:37Breaking the rules
- 40:42Summary
- 42:23Questions and contributions
related talks
45mExposing Data
44m10 things you didn't know EF Core can do
44mORM Insights - How not to hurt yourself?
59m10 things you didn't know EF Core can do
58mMaintain Social Distance this Spring
46mThe State of Java Relational Persistence
58mCause of Death: Hibernate.
48mORM Iinsights - How to Not Hurt Yourself?
