|
>Home>Products>DataDirect XQuery>Features>Calling Java Functions
Print
Calling Java Methods and SQL Functions from DataDirect XQuery
DataDirect XQuery lets you call Java methods or SQL functions from within a query. Java methods can be used to
return system information, to invoke a web service call, or simply to make a function available that is not in the
standard XQuery function library. SQL functions can be used to invoke a stored procedure or to make a function available
that is not in the XQuery function library. All external functions are namespace qualified, and the namespace that is used
tells DataDirect XQuery whether the external function is written in Java or in SQL. Before calling such a function, it must be declared in the query.
|