Welcome to hypercone.com on July 4 2009.
This is an internet experiment running to monitor browsing habbits of individuals through wikipedia contents.

Identity map

From Wikipedia, the free encyclopedia

Jump to: navigation, search
This article is about the Identity Map software design pattern. For the mathematical concept, see Identity function.

An identity map 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.[1]

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.

Four types of Identity Map

 1.Explicit
 2.Generic
 3.Session
 4.Class

[edit] See also

[edit] References

  1. ^ Fowler, Martin (2003). Patterns of Enterprise Application Architecture. Addison-Wesley. pp. 195–199. ISBN 0321127420. 
Personal tools

Visit joltnews for the latest headlines
Visit bloit.com for company information
Geed Media does computer consulting on long island.
This page viewed times. See Logs