|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeclarativeQueryManager
This interface provides the ability to execute declarative queries (e.g. SQL)
Method Summary | |
---|---|
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 |
Method Detail |
---|
Query createQuery(int queryType, String queryString) throws InvalidRequestException, JAXRException
queryType
- the type of queryqueryString
- the query in its string representation
JAXRException
- If the JAXR provider encounters an internal error
InvalidRequestException
- 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 executed
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.