public interface DeclarativeQueryManager extends QueryManager
Modifier and Type | Method and Description |
---|---|
Query |
createQuery(int queryType,
String queryString)
Creates a Query object given a queryType (for example, QUERY_TYPE_SQL) and a String
that represents a query in the syntax appropriate for queryType.
|
BulkResponse |
executeQuery(Query query)
Executes a query as specified by query parameter.
|
getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService
Query createQuery(int queryType, String queryString) throws InvalidRequestException, JAXRException
queryType
- the type of queryqueryString
- the query in its string representationJAXRException
- If the JAXR provider encounters an internal errorInvalidRequestException
- If the JAXR provider validates query syntax (optional) and the sqlQuery is not validQuery.QUERY_TYPE_SQL
,
Query.QUERY_TYPE_XQUERY
,
Query.QUERY_TYPE_EBXML_FILTER_QUERY
BulkResponse executeQuery(Query query) throws JAXRException
query
- the query to be executedJAXRException
- If the JAXR provider encounters an internal errorCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.