Painfree Object-Document Mapping for MongoDB
summary
Morphia ODM for MongoDB maps Java objects with annotations and runs in production for three to four years, replacing manual BSON handling; it uses Morphia ODM on top of the MongoDB Java driver, relies on ObjectId vs integer IDs for distributed ID generation, and supports optimistic versioning (long version field) instead of DB locks. Converters handle BigDecimal and other unsupported types, embedding avoids null-filled rows, references can eager- or lazy-load (watch N+1 queries), and tests use embedded MongoDB.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 11:40Gary Pernod
- 18:50Properties
- 25:20Version
- 26:20References
- 27:58Observing
- 28:50Persistence
- 29:52Normalize
- 32:56Generics
- 33:59General Summary
- 34:45SpringDay
- 36:06Critter
- 37:15Is it fast
- 38:41Normalization
- 41:18Lazy Loading
- 43:03Java Types
related talks
30mHelp! I Need To UnSQLize My Application
48mGetting Non-Relational with MongoDB
01h 34mThe Spring Data MongoDB Project
15mPlug-and-Play for JSON and MongoDB Developers
35mMongoMapper, Mixins, and Migrations - a look at managing data-model complexity
03mKristina Chodorow interviewed at OSCON 2010
31mMongoDB: Advantages of an Open Source NoSQL Database
47mFaster, Better ORM with DataMapper
