org.eobjects.metamodel
Interface UpdateableDataContext

All Superinterfaces:
DataContext
All Known Implementing Classes:
InterceptableDataContext

public interface UpdateableDataContext
extends DataContext

Represents a DataContext that supports updating write-operations.

Author:
Kasper Sørensen

Method Summary
 void executeUpdate(UpdateScript update)
          Submits an UpdateScript for execution on the DataContext.
 
Methods inherited from interface org.eobjects.metamodel.DataContext
compileQuery, executeQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, parseQuery, query, refreshSchemas
 

Method Detail

executeUpdate

void executeUpdate(UpdateScript update)
Submits an UpdateScript for execution on the DataContext. Since implementations of the DataContext vary quite a lot, there is no golden rule as to how an update script will be executed. But the implementors should strive towards handling an UpdateScript as a single transactional change to the data store.

Parameters:
update - the update script to execute


Copyright © 2007-2013. All Rights Reserved.