简体   繁体   English

为什么OraNet.dcu没有相应的.pas文件?

[英]Why does OraNet.dcu have no corresponding .pas file?

I have a related post - Assertion failure in DBAccess.pas but thought this was worth asking separately. 在DBAccess.pas中有一个相关的帖子 - 断言失败,但认为这值得单独询问。

We are licensed for the full source-code release of DevArt ODAC but have been experiencing tremendous difficulties performing an upgrade. 我们获得了DevArt ODAC完整源代码版本的许可,但在执行升级时遇到了巨大的困难。 In the course of investigating this I have noticed that there is no .pas file for OraNet.dcu. 在调查过程中,我注意到OraNet.dcu没有.pas文件。

This is making it difficult to establish what the cause of our difficulties is as we cannot fully debug the code. 这使得很难确定我们遇到困难的原因是什么,因为我们无法完全调试代码。

Also - what is this unit? 另外 - 这个单位是什么? From its name and the directives in the code it would be reasonable to suppose it is a .NET required unit - not something we are interested in. 从它的名称和代码中的指令,可以合理地假设它是.NET所需的单元 - 而不是我们感兴趣的东西。

There is the Direct DB connection mode implemented in the OraNet.dcu module, and we don't distribute the source code of this module, this limitation is specified at our website (the reference at the bottom of the page). 在OraNet.dcu模块中实现了直接DB连接模式,我们不分发此模块的源代码,这个限制在我们的网站上指定(页面底部的参考)。 If you don't use the Direct mode, and work via the Oracle client (the OCI mode), you can specify DEFINE NONET in your project settings, in this case, the Direct mode will be unavailable, and this module won't be used. 如果您不使用直接模式,并通过Oracle客户端(OCI模式)工作,您可以在项目设置中指定DEFINE NONET,在这种情况下,Direct模式将不可用,并且此模块将不会用过的。

The client usage (even Oracle Instant Client) really allows using more features, than our Direct mode, but the Direct mode even surpasses OCI by performance in some cases. 客户端使用(甚至是Oracle Instant Client)确实允许使用比直接模式更多的功能,但在某些情况下,直接模式甚至超过了OCI的性能。 Besides, the Direct mode significantly simplifies application deployment and decreases the application size on disk due to the fact that there is no need to supply and deploy additional libraries, and set additional registry parameters and environment variables. 此外,直接模式显着简化了应用程序部署并减少了磁盘上的应用程序大小,因为不需要提供和部署其他库,并设置其他注册表参数和环境变量。 The Direct mode also allows application deployment to systems, for which there are no native Oracle clients, for example, iOS. Direct模式还允许将应用程序部署到系统,而没有本机Oracle客户端,例如iOS。 Choosing of the way of working with the DB (Direct or OCI) depends on developer and tasks resolved by each particular application. 选择使用DB(Direct或OCI)的方式取决于每个特定应用程序解决的开发人员和任务。 As it was mentioned above, if the Direct mode is not used, additional module plugging can be disabled by setting DEFINE NONET 如上所述,如果不使用直接模式,可以通过设置DEFINE NONET禁用其他模块插件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM