com.ibm.websphere.sdo.mediator
Interface JDBCMediator
- public interface JDBCMediator
Method Summary
Modifier and Type | Method and Description |
---|---|
|
applyChanges(boolean sortUpdates,commonj.sdo.DataObject datagraph)
Flush all changes made to the datagraph back to a data source.
|
|
applyChanges(commonj.sdo.DataObject datagraph)
Flush all changes made to the datagraph back to a data source.
|
getConnectionWrapper()
Get the ConnectionWrapper object
|
|
|
getEmptyGraph()
Create an empty datagraph and return its root data object
|
|
getGraph()
Create a DataGraph and return its root data object
|
|
getGraph(commonj.sdo.DataObject parameters)
Create a DataGraph with the given parameters and return its root data object
|
|
getKey()
Return a unique key value
|
|
getParameterDataObject()
Create and return a DataObject to be used by getGraph(DataObject).
|
|
getSchema()
Return the datagraph schema
|
|
setConnectionWrapper(ConnectionWrapper connectionWrapper)
Set the ConnectionWrapper object
|
|
setResultSetInfo(com.ibm.websphere.sdo.mediator.ResultSetInfo info)
|
Method Detail
applyChanges
- void applyChanges(commonj.sdo.DataObject datagraph)
- throws MediatorException
Flush all changes made to the datagraph back to a data source. Equivalent
to applyChanges(true, datagraph).
applyChanges
- void applyChanges(boolean sortUpdates,
- commonj.sdo.DataObject datagraph)
- throws MediatorException
Flush all changes made to the datagraph back to a data source. If sortUpdates
is true, updates to the database will be sorted to avoid referential integrity
constraint violations.
getGraph
- commonj.sdo.DataObject getGraph( )
- throws MediatorException
Create a DataGraph and return its root data object
getGraph
- commonj.sdo.DataObject getGraph( commonj.sdo.DataObject parameters)
- throws MediatorException
Create a DataGraph with the given parameters and return its root data object
getSchema
- org.eclipse.emf.ecore.EClass getSchema( )
- throws MediatorException
Return the datagraph schema
getEmptyGraph
- commonj.sdo.DataObject getEmptyGraph( )
- throws MediatorException
Create an empty datagraph and return its root data object
getKey
- long getKey()
- throws MediatorException
Return a unique key value
setConnectionWrapper
- void setConnectionWrapper(ConnectionWrapper connectionWrapper)
Set the ConnectionWrapper object
Parameters:
connectionWrapper
- getConnectionWrapper
- ConnectionWrapper getConnectionWrapper( )
Get the ConnectionWrapper object
Returns:
the connection wrapper
getParameterDataObject
- commonj.sdo.DataObject getParameterDataObject( )
- throws MediatorException
Create and return a DataObject to be used by getGraph(DataObject).
If generated select statements are being used, the DataObject will contain
Properties for each FilterArgument defined in the Metadata. If the select
statement has been supplied, the DataObject will contain a Property for
each '?' placeholder in the select string. These properties will be named
arg0,arg1,...,argn
setResultSetInfo
- void setResultSetInfo(com.ibm.websphere.sdo.mediator.ResultSetInfo info)
- throws MediatorException
Throws: