|
Transparent PersistenceNonintrusive
Persistent JavaBeans style propertiesInstance variables are usually considered internal implementation details (property accessors need not be public) However, if you prefer, you may persist instance variables directly No build-time source or byte code generation / processingfor a seamless build-test cycle! (Hibernate uses runtime bytecode generation.) Support for extensive subset of Java collections APIMap, Set, List, SortedMap, SortedSet, arrays including primitive arrays, Collection Extensible type systempowerful, innovative model of persistence types
Constraint transparencyThe application never needs to worry about foreign key constraint violations, even when there are circular references Automatic Dirty CheckingModifications to objects associated with a transaction are automatically detected and propagated to the database Detached object supportSerialized persistent objects may be selectively reassociated with Hibernate, and their state synchronized with the database. You do not need Data Transfer Objects in a multi-tiered architecture! |
|||||||||||||