在 Java 中使用 Xquery 处理器的 OSB fn-bea 函数 [英] OSB fn-bea functions using Xquery processor in Java

查看:25
本文介绍了在 Java 中使用 Xquery 处理器的 OSB fn-bea 函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对 OSB 中使用的 xqueries 进行单元测试,使用 Oracle 的 Xquery 处理器 for java.参考以下链接

Hi i am trying to unit test xqueries that are used in OSB ,using oracle's Xquery processor for java . refer link below

http://docs.oracle.com/database/121/ADXDK/adx_j_xqj.htm#ADXDK187

Xquery 正在使用一些 fn-bea 函数(http://docs.oracle.com/cd/E13167_01/aldsp/docs25/xquery/extensions.html)

The Xquery is using some fn-bea functions (http://docs.oracle.com/cd/E13167_01/aldsp/docs25/xquery/extensions.html)

Xquery 处理器无法识别这些函数.

The functions are not recognized by the Xquery Processor .

我们将这些函数声明为外部函数并使用它们.

We are thing of desclaring these functions as external Functions and use them .

然而,我们需要知道每个 bea 函数的确切类和方法名称.

However we need to know the exact class and method name for each bea function .

谁能告诉我这些 fn-bea 函数的类和方法名称以及 jar 名称.

Can some tell me the Class and method names for these fn-bea functions and the jar names .

推荐答案

fn-bea 模块不适用于独立的 XQuery Processor for Java.您可以按如下所示导入模块,但某些功能在此上下文中不起作用.

The fn-bea module is not intended for use in the standalone XQuery Processor for Java. You can import the module as shown below but some of the functions will not work in this context.

import module namespace fn-bea = 'http://www.bea.com/xquery/xquery-functions';
fn-bea:trim('  hello  ')

不保证此模块在未来版本中可用.

There is no guarantee that this module will be available in future releases.

这篇关于在 Java 中使用 Xquery 处理器的 OSB fn-bea 函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆