Hibernate (Java) - Entities and Components

Entities and Components

In Hibernate jargon, an entity is a stand-alone object in Hibernate's persistent mechanism which can be manipulated independently of other objects. In contrast, a component is subordinate to other entities and can be manipulated only with respect to other entities. For example, an Album object may represent an entity but the Tracks object associated with the Album objects would represent a component of the Album entity if it is assumed that Tracks can only be saved or retrieved from the database through the Album object. Unlike J2EE, it can switch databases.

Read more about this topic:  Hibernate (Java)

Famous quotes containing the words entities and/or components:

    What are you now? If we could touch one another,
    if these our separate entities could come to grips,
    clenched like a Chinese puzzle . . . yesterday
    I stood in a crowded street that was live with people,
    and no one spoke a word, and the morning shone.
    Everyone silent, moving. . . . Take my hand. Speak to me.
    Muriel Rukeyser (1913–1980)

    Hence, a generative grammar must be a system of rules that can iterate to generate an indefinitely large number of structures. This system of rules can be analyzed into the three major components of a generative grammar: the syntactic, phonological, and semantic components.
    Noam Chomsky (b. 1928)