unidac连接ORACLE免装客户端驱动

当你选择Oracle作数据库服务器时,客户端一般需要装一个肥硕的200M左右客户端,而且还要做连接配置,尤其是C/S模式,客户端多的时候非常不便。当然,网上也有一个10M左右的Oracle精简客户端,性能和稳定性和官方版差不多。Oracle还提供了Direct Mode(直连模式),只要你的客户端机子支持TCP/IP协议,完全可以不用安装Oracle客户端及其连接配置。幸运的是,UniDAC也提供了Direct Mode。只需要如下简单配置:

1、在TUniConnection控件上点击右键,选择菜单“Connection Editor”,在弹出的对话框中选择分页“Options”,“Options for Provider”选择“Oracle”,然后在其详细的配置表中,将Direct设置为True。

2、TUniConnection的属性和一般连接oracle差不多,只是将其Server属性改为:

TUniConnection.Server :='IP:Port:SID';

如:

TUniConnection.Server :='192.168.1.1:1521:WEB';

剩下的事情,你想怎么办就怎么办了!

Universal Data Access Components (UniDAC) is a powerful library of nonvisual cross-database data access components for Delphi, Delphi for .NET, C++Builder, and Free Pascal. The UniDAC library is designed to help programmers develop faster and cleaner cross-database applications. UniDAC is a complete replacement for standard database connectivity solutions and presents an efficient native alternative to the Borland Database Engine and dbExpress for access to Oracle, SQL Server, MySQL, InterBase, Firebird, SQLite, DB2, Microsoft Access, Advantage Database Server, Adaptive Server Enterprise, and other databases (using ODBC provider). UniDAC is based on the well-known Data Access Components from Devart such as ODAC, SDAC, MyDAC, IBDAC, and PgDAC. We have joined the experience of long-term successful development into one great product which provides unified access to popular databases such as Oracle, Microsoft SQL Server, MySQL, InterBase, Firebird, SQLite, DB2, Microsoft Access, Advantage Database Server, Adaptive Server Enterprise, and other databases (using ODBC provider). The UniDAC library is actively developed and supported by Devart Team. If you have questions about UniDAC, email the developers at unidac@devart.com or visit UniDAC online at http://www.devart.com/unidac/. Advantages of UniDAC Technology UniDAC is very convenient in setup and usage. It provides transparent server-independent interface for working with different databases. Selected database provider ensures the best way to perform operations on the server. Universal Data Access UniDAC provides transparent server-independent interfaces for working with different databases, and lets you change the client engine for specific server type just by changing single connection option. It means that you can easily switch between database servers in your cross-database UniDAC-based application. Server-Aware Providers UniDAC chooses the best way specific to the server to perform most operations. Every UniDAC data provider uses server-specific native connectivity. All operations with data are performed by providers automatically considering peculiarities of the selected database server. Optimized Code The goal of UniDAC is to enable developers to write efficient and flexible database applications. The UniDAC library is implemented using advanced data access algorithms and optimization techniques. Classes and components undergo comprehensive performance tests and are designed to help you write high-performance, lightweight data access layers. Compatibility with Other Connectivity Methods The UniDAC interface retains compatibility with standard VCL data access components like BDE. Existing BDE-based applications can be easily migrated to UniDAC and enhanced to take advantage of server-specific features. Development and Support UniDAC is a cross-database connectivity solution that has been actively developed and supported. UniDAC comes with full documentation, demo projects, and fast (usually within one business day) technical support by the UniDAC development team. Find out more about how to get help or submit feedback and suggestions to the UniDAC development team in the Getting Support topic. A description of the UniDAC components is provided in the Component List.
LICENSE AGREEMENT (LA) FOR ALLROUND AUTOMATIONS SOFTWARE PRODUCTS Important: Read carefully - by installing, copying or otherwise using this Allround Automations software product, you agree to be bound by the terms and conditions of this LA. If you do not agree to these terms and conditions, do not install, copy or use this software product. General The right to use the product under the terms of this LA is granted only when: In case the software product was ordered by company Purchase Order, the appropriate invoice sent afterwards was paid within 30 days after invoice date. In case the software product was ordered on-line and paid by credit card, no charge-back of the withdrawn amount is initiated. Rights and Limitations You may only reproduce, install and use the software product for use with only one developer. If you have multiple validly licensed copies of the software product, you may reproduce, install and use the software product for use with a corresponding number of developers. Allround Automations retains all right, title and interest in and to the software product. All rights not expressly granted are reserved by Allround Automations. If you have an unlimited user license for any Allround Automations software product you are entitled to use the software product with an unlimited user of developers only within the legal entity of the License holder. Distribution You are allowed to build and sell any application using this software product, no royalties are required. You are not allowed to distribute any part of this (original or altered) software product. Warranties Allround Automations warrants that it is the owner of the software product, and that it has the right and authority to convey and grant the license(s) herein and to perform this LA, and that the use of the software product as contemplated by this LA will not infringe any patent, copyright, trade secret or other proprietary rights of any third party. Allround Automations warrants that it has taken every precaution to ensure that the media on which this software product is delivered is virus-free. Disclaimer of warranties To the maximum extent permitted by applicable law, Allround Automations and its suppliers provide to you the software product, and any (if any) support services related to the software product ("service contract") as is and with all faults; and Allround Automations and its suppliers hereby disclaim with respect to the software product and support services all warranties and conditions, whether express, implied or statutory, including, but not limited to, any (if any) warranties or conditions of or related to: title, non-infringement, merchantability, fitness for a particular purpose, lack of viruses, accuracy or completeness of responses, results, lack of negligence or lack of workmanlike effort, quiet enjoyment, quiet possession, and correspondence to description. The entire risk arising out of use or performance of the software product and any support services remains with you. Exclusion of incidental, consequential and certain other damages. To the maximum extent permitted by applicable law, in no event shall Allround Automations or its suppliers be liable for any special, incidental, indirect, or consequential damages whatsoever (including, but not limited to, damages for: loss of profits, loss of confidential or other information, business interruption, personal injury, loss of privacy, failure to meet any duty (including of good faith or of reasonable care), negligence, and any other pecuniary or other loss whatsoever) arising out of or in any way related to the use of or inability to use the software product or the support services, or the provision of or failure to provide support services, or otherwise under or in connection with any provision of this LA, even in the event of the fault, tort (including negligence), strict liability, breach of contract or breach of warranty of Allround Automations or any supplier, and even if Allround Automations or any supplier has been advised of the possibility of such damages. Limitation of liability and remedies. Notwithstanding any damages that you might incur for any reason whatsoever (including, without limitation, all damages referenced above and all direct or general damages), the entire liability of Allround Automations and any of its suppliers under any provision of this LA and your exclusive remedy for all of the foregoing shall be limited to the greater of the amount actually paid by you for the software product or US$500. The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails its essential purpose. Jurisdiction of Court of Law If, for any reason, a legal dispute between you and Allround Automations arises, Dutch law will be applicable and any legal procedures will be initiated and processed with Dutch courts of law only. In default of payment If, for any reason, you fail to pay the invoice with regards to the purchased license within 30 days, extra costs will be charged to you. These costs will be an amount of US$10 administration fee for every week the invoice has not been paid after 30 days and an interest of 15% -of the amount not paid- per year. In addition to these extra costs you will also be charged with the invoice collection fees made by Allround Automations in order to collect the full payment including extra costs in case of default of payment. In that case the right to use the software product can be terminated by Allround Automations without any right of restitution of license fees setup key:PVJ6-LFRR-PL4X-ZRX5-HVH2-C872-3Y2B Enschede, January 2003
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值