|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdateToSchemaVersionInterface
This interface describes methods used to perform incremental update from previous schema version to the version the class corresponds to. Based on BASE2 class src/core/net/sf/basedb/core/Update.java, but adapted to use a main updater class that performs a general update by calling methods in classes that perform an incremental update from one version to the next.
| Method Summary | |
|---|---|
int |
adjustExistingItems(org.hibernate.Session session)
Adjust the existing items in the database to be compatible with the latest mappings. |
int |
update(org.hibernate.Session session)
Update the database by modifying existing items to follow new requirements. |
| Method Detail |
|---|
int update(org.hibernate.Session session)
throws BaseException
session - org.hibernate.Session a Hibernate session to use for transactions.
BaseException
int adjustExistingItems(org.hibernate.Session session)
throws BaseException
session - org.hibernate.Session the Hibernate session to use.
BaseException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||