Interface DatabaseUpdater


  • public interface DatabaseUpdater
    Provides an database schema or data change version updater interface.
    • Method Detail

      • 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