org.eobjects.metamodel
Interface UpdateCallback
- All Superinterfaces:
- RowDeletable, RowInsertable, RowUpdateable, TableCreatable, TableDroppable
- All Known Implementing Classes:
- AbstractUpdateCallback
public interface UpdateCallback
- extends TableCreatable, TableDroppable, RowInsertable, RowUpdateable, RowDeletable
An UpdateCallback is used by an UpdateScript to perform
updates on a DataContext. Multiple updates (eg. insertion of several
rows or creation of multiple tables) can (and should) be performed with a
single UpdateCallback. This pattern guarantees that connections
and/or file handles are handled correctly, surrounding the
UpdateScript that is being executed.
- Author:
- Kasper Sørensen
getDataContext
DataContext getDataContext()
- Gets the DataContext on which the update script is being executed.
- Returns:
- the DataContext on which the update script is being executed.
Copyright © 2007-2013. All Rights Reserved.