简体   繁体   English

Delphi 2010和Firebird 1.5

[英]Delphi 2010 and Firebird 1.5

Can I continue to use the interbase vcl components in delphi 2010 with firebird 1.5? 我可以继续在delphi 2010中使用firebird 1.5中的interbase vcl组件吗? Thanks 谢谢

We've used the IBX components in Delphi 2010 with FB 1.5 and 2.1, no problems - both embedded and client/server versions of Firebird. 我们在Delphi 2010中使用了FB 1.5和2.1的IBX组件,没有任何问题 - 包括Firebird的嵌入式和客户端/服务器版本。

We had a large legacy app in D7 that used IBX and IB6.01, we didn't have the resources to go and redevelop the whole thing using dbx so had a go with the newer version of IBX and Firebird and it went like a dream. 我们在D7中有一个使用IBX和IB6.01的大型遗留应用程序,我们没有足够的资源去使用dbx重新开发整个东西,所以有了更新版本的IBX和Firebird,它就像一个梦想。

The only gotchas we had were to do with UDFs; 我们唯一陷入的问题与UDF有关; we had written a few Interbase UDFs of our own that conflicted with newer, built-in functions etc in Firebird. 我们编写了一些我们自己的Interbase UDF,与Firebird中较新的内置函数等冲突。 I was happy to drop our UDFs and use the 'official' ones! 我很高兴放弃我们的UDF并使用“官方”的UDF!

如果它仍然是:Borland \\ CodeGear \\ Embarcadero Delphi(2010-或XE +)的最佳组件是“FIBPlus” http://devrace.com/en/fibplus/

We still use IBX in our legacy application, though it gets hard. 我们仍然在遗留应用程序中使用IBX,尽管它很难。 For example it does not support version check for Firebird. 例如,它不支持Firebird的版本检查。 It does not suppoer EXECUTE BLOCK, INSERT RETURNING and so on. 它不支持EXECUTE BLOCK,INSERT RETURNING等。

Int64 (bigInt) type is also problematic, because Interbase has boolean type at that index instead. Int64(bigInt)类型也存在问题,因为Interbase在该索引处具有布尔类型。 But other than that it seem to work. 但除此之外它似乎工作。

While generally we'd switch to Unified Interbase component set, for safety and better compatibility, for now it does not worth it. 虽然我们通常会切换到Unified Interbase组件集,但为了安全性和更好的兼容性,现在它不值得。

I also suggest you IBX extension - download link is below: http://www.loginovprojects.ru/index.php?page=ibxfbutils 我也建议您使用IBX扩展 - 下载链接如下: http//www.loginovprojects.ru/index.php ?page = ibxfbutils

I'm not sure about the Interbase components, but I've been able to successfully use Firebird under D2010 with DB Express. 我不确定Interbase组件,但我已经能够使用DB Express在D2010下成功使用Firebird。 I used the DBX driver found at http://sites.google.com/site/dbxfirebird/ . 我使用了http://sites.google.com/site/dbxfirebird/上的DBX驱动程序。

带有DbExpress的D2010似乎与Firebird配合得很好。

As IBX have to support legacy code for Interbase, it will work. 由于IBX必须支持Interbase的遗留代码,因此它将起作用。 Better, it still work with FB 2.1. 更好,它仍然适用于FB 2.1。 I think you should read this blog post. 我想你应该阅读这篇博文。 http://compaspascal.blogspot.com/2009/08/why-to-use-firebirdibx.html http://compaspascal.blogspot.com/2009/08/why-to-use-firebirdibx.html

Also check comments for one update that you will need to make in IBX sources if you will work with non default or Unicode Charsets and Collations. 如果您将使用非默认或Unicode字符集和排序规则,还要检查您需要在IBX源中进行的一个更新的注释。

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

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