public class BatchQueryOperation extends QueryOperation
QueryOperation.DataHandlerInstantiationPolicy
ORACLEOPAQUE_STR, ORACLESQLXML_STR
Constructor and Description |
---|
BatchQueryOperation() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBatchSql()
Return the List of SQL statements to be executed for this operation.
|
void |
initialize(XRServiceAdapter xrService)
The initialize method will add an XMLDesctriptor for
org.eclipse.persistence.internal.xr.ValueObject to
the OX project.
|
Object |
invoke(XRServiceAdapter xrService,
Invocation invocation)
Invoke the SQL statements in order against the database.
|
void |
setBatchSql(List<String> batchSql)
Set the List of SQL statements to be executed for this operation.
|
void |
validate(XRServiceAdapter xrService)
No validation can be done for a batch query operation.
|
createSimpleXMLFormat, getQueryHandler, getResult, getResultType, hasResponse, isAttachment, isCollection, isSimpleXMLFormat, isUserDefined, setQueryHandler, setResult, setUserDefined
getName, getParameters, setName
public List<String> getBatchSql()
public void setBatchSql(List<String> batchSql)
public Object invoke(XRServiceAdapter xrService, Invocation invocation)
invoke
in class QueryOperation
xrService
- parent XRService
that owns this Operation
invocation
- contains runtime argument values to be bound to the list of
Parameter
's.null
.Operation}
public void validate(XRServiceAdapter xrService)
validate
in class QueryOperation
public void initialize(XRServiceAdapter xrService)
initialize
in class QueryOperation
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference