| org.hibernate.classic |
|
This package implements backward-compatibility with Hibernate 2.1
APIs now deprecated in Hibernate3.
|
| Java Source File Name | Type | Comment |
| Lifecycle.java | Interface | Provides callbacks from the Session to the persistent object.
Persistent classes may implement this interface but they are not
required to.
onSave: called just before the object is saved
onUpdate: called just before an object is updated,
ie. |
| Session.java | Interface | An extension of the Session API, including all
deprecated methods from Hibernate2. |
| Validatable.java | Interface | Implemented by persistent classes with invariants that must
be checked before inserting into or updating the database. |
| ValidationFailure.java | Class | Thrown from Validatable.validate() when an invariant
was violated. |