|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry Interface DeclarativeQueryManager
- 所有父接口:
- QueryManager
public interface DeclarativeQueryManager
- extends QueryManager
This interface provides the ability to execute declarative queries (e.g. SQL)
- 作者:
- Farrukh S. Najmi
方法摘要 | |
---|---|
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. |
Methods inherited from interface javax.xml.registry.QueryManager |
---|
getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService |
方法详细信息 |
---|
createQuery
Query createQuery(int queryType, String queryString) throws InvalidRequestException, JAXRException
- 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.
- Capability Level: 1
- 参数:
queryType
- the type of queryqueryString
- the query in its string representation- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal errorInvalidRequestException
- If the JAXR provider validates query syntax (optional) and the sqlQuery is not valid- 另请参见:
Query.QUERY_TYPE_SQL
,Query.QUERY_TYPE_XQUERY
,Query.QUERY_TYPE_EBXML_FILTER_QUERY
executeQuery
BulkResponse executeQuery(Query query) throws JAXRException
- Executes a query as specified by query parameter.
- Capability Level: 1
- 参数:
query
- the query to be executed- 返回:
- the BulkResponse that is the result of the query
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.