Interface DatabaseUpdater


public interface DatabaseUpdater
Provides an database schema or data change version updater interface.
  • Field Details

    • DATABASE_PRODUCT_ORACLE

      static final String DATABASE_PRODUCT_ORACLE
      The 'oracle database product.
      See Also:
    • DATABASE_PRODUCT_SQL_SERVER

      static final String DATABASE_PRODUCT_SQL_SERVER
      The 'sql server' Oracle database product.
      See Also:
    • DATABASE_PRODUCT_MYSQL

      static final String DATABASE_PRODUCT_MYSQL
      'mysql' database product.
      See Also:
  • Method Details

    • performUpdate

      int performUpdate(org.apache.cayenne.access.DataContext dataContext) throws Exception
      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