Interface DatabaseUpdater
public interface DatabaseUpdater
Provides an database schema or data change version updater interface.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
performUpdate
(org.apache.cayenne.access.DataContext dataContext) Perform database schema or data change version update.
-
Field Details
-
DATABASE_PRODUCT_ORACLE
The 'oracle database product.- See Also:
-
DATABASE_PRODUCT_SQL_SERVER
The 'sql server' Oracle database product.- See Also:
-
DATABASE_PRODUCT_MYSQL
'mysql' database product.- See Also:
-
-
Method Details
-
performUpdate
Perform database schema or data change version update.- Parameters:
dataContext
- the Cayenne DataContext- Returns:
- the number of rows changed
- Throws:
Exception
- if an error occurs
-