encyclopegia.org

Identity map pattern

In database design, the identity map pattern is a database access design pattern used to improve performance by providing a context-specific, in-memory cache to prevent duplicate retrieval of the same object data from the database. If the requested data has already been loaded from the database, the identity map returns the same instance of the already instantiated object, but if it has not been loaded yet, it loads it and stores the new object in the map. In this way, it follows a similar principle to lazy loading. There are 4 types of identity maps #Explicit #Generic #Session #Class

In database design, the identity map pattern is a database access design pattern used to improve performance by providing a context-specific, in-memory cache to prevent duplicate retrieval of the same object data from the database. If the requested data has already been loaded from the database, the identity map returns the same instance of the already instantiated object, but if it has not been loaded yet, it loads it and stores the new object in the map. In this way, it follows a similar principle to lazy loading. There are 4 types of identity maps Explicit Generic Session Class

References

No reference rows published for this article.

Cite this article

MLA

"Identity map pattern." encyclopegia.org, 2025, https://encyclopegia.org/wiki/identity-map-pattern. Accessed 24 November 2026.

Chicago

"Identity map pattern." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/identity-map-pattern.

APA

encyclopegia.org. (2025). Identity map pattern. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/identity-map-pattern

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

map

stub · references available

Template:Location map Iceland

stub · references available

Template:Location map Sweden, 40south

stub · references available

Template:Location map Andorra

stub · references available

Template:Location map Spain

stub · references available

Template:Location map Vatican

stub · references available

Template: Location map Montenegro

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1320591548 · 0.5 · snapshot enwiki-001320591548

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.