Hibernate provides transparent persistence for older Java
objects (POJOs). The only strict requirement for a persistent class is a
constructor without argument, not necessarily public. Appropriate behavior in
some applications also requires special attention to the equals () and hashCode
() methods. [1]
Data object collections are typically stored in Java
collection classes, such as implementations of the Set and List interfaces.
Java generics, introduced in Java 5, are supported. Hibernate can be configured
for collections associated with lazy load. The lazy load is the default value
from Hibernate
Associated objects can be configured to cascade operations
from one to another. For example, a parent Album object can be configured to
cascade its backup and / or delete operation on its child Track objects.
No comments:
Post a Comment