oracle适配器查询 [英] oracle adapter query

查看:137
本文介绍了oracle适配器查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Oracle适配器从数据库中检索数据。使用nativeSQL的适配器方式。

我想使用transform进行检索记录的映射。我不能简单地这样做,因为NativeSQLResponse没有模式。在这种情况下我如何进行映射?


。Nilesh

Hi,

I'm using Oracle adapter to retrieve the data from the database. The nativeSQL way of adapter is used.

I want to do mapping of retrieve records using transform. I could not simply do that, as NativeSQLResponse has no schemas in to it. How do i do mapping in this case?


.Nilesh

推荐答案

不确定您正在使用哪个适配器,但是您可以创建一个适配器来自查询的xml输出的模式。我想你看看WCF Oracle绑定(LOB适配器)。这个将允许您从查询生成模式。

hth
Not sure which adapter you're using, but you could gererate a schema from the xml output of your query. I sugest you take a  look at the WCF Oracle binding (LOB adapter). This one will let you generate a schema from a query.

hth


这篇关于oracle适配器查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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