Row Data Gateway Pattern
One object per database row, with no domain logic. A data source architecture pattern in the Enterprise Application Patterns catalog. With Java/Spring code.
One object per database row, with no domain logic.
- Family
- Enterprise Application Patterns
- Category
- Data Source Architecture
- Source
- Martin Fowler — Patterns of Enterprise Application Architecture
More data source architecture patterns
- Table Data Gateway — One object holds all SQL for one table.
- Active Record — A domain object that also loads and saves itself.
- Data Mapper — A separate layer moves data between objects and tables.