德尔福 2010 和火鸟 1.5
我可以继续在 delphi 2010 和 firebird 1.5 中使用 interbase vcl 组件吗? 谢谢
Can I continue to use the interbase vcl components in delphi 2010 with firebird 1.5?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我们使用了 Delphi 2010 中的 IBX 组件以及 FB 1.5 和 2.1,没有任何问题 - Firebird 的嵌入式版本和客户端/服务器版本。
我们在 D7 中有一个使用 IBX 和 IB6.01 的大型旧版应用程序,我们没有资源使用 dbx 重新开发整个应用程序,因此尝试使用较新版本的 IBX 和 Firebird,一切进展顺利。
我们遇到的唯一问题与 UDF 有关;我们自己编写了一些 Interbase UDF,它们与 Firebird 中较新的内置函数等发生冲突。我很高兴放弃我们的 UDF 并使用“官方”的 UDF!
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.
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.
The only gotchas we had were to do with UDFs; we had written a few Interbase UDFs of our own that conflicted with newer, built-in functions etc in Firebird. I was happy to drop our UDFs and use the 'official' ones!
由于 IBX 必须支持 Interbase 的遗留代码,因此它会起作用。更好的是,它仍然可以与 FB 2.1 一起使用。
我认为你应该阅读这篇博文。
http://compaspascal.blogspot.com/2009/08/why -to-use-firebirdibx.html
如果您将使用非默认或 Unicode 字符集和排序规则,另请检查您需要在 IBX 源中进行的一项更新的注释。
As IBX have to support legacy code for Interbase, it will work. Better, it still work with FB 2.1.
I think you should read this blog post.
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.
我不确定 Interbase 组件,但我已经能够在 D2010 下通过 DB Express 成功使用 Firebird。我使用了 http://sites.google.com/site/dbxfirebird/。
I'm not sure about the Interbase components, but I've been able to successfully use Firebird under D2010 with DB Express. I used the DBX driver found at http://sites.google.com/site/dbxfirebird/.
D2010 与 DbExpress 似乎与 Firebird 配合良好。
D2010 with DbExpress seems to work well with Firebird.
如果实际上仍然如此:Borland\CodeGear\Embarcadero Delphi(对于 2010- 或 XE+)的最佳组件是“FIBPlus” http://devrace.com/en/fibplus/
If it is still actually: The best components for Borland\CodeGear\Embarcadero Delphi (for 2010- or XE+) is "FIBPlus" http://devrace.com/en/fibplus/
我们仍然在遗留应用程序中使用 IBX,尽管它变得很困难。例如,它不支持 Firebird 的版本检查。不支持EXECUTE BLOCK、INSERT RETURNING等。
Int64 (bigInt) 类型也有问题,因为 Interbase 在该索引处具有布尔类型。
但除此之外它似乎还有效。
虽然通常我们会切换到统一的 Interbase 组件集,但为了安全性和更好的兼容性,目前还不值得。
我还建议您 IBX 扩展 - 下载链接如下: http://www.loginovprojects.ru /index.php?page=ibxfbutils
We still use IBX in our legacy application, though it gets hard. For example it does not support version check for Firebird. It does not suppoer EXECUTE BLOCK, INSERT RETURNING and so on.
Int64 (bigInt) type is also problematic, because Interbase has boolean type at that index instead.
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.
I also suggest you IBX extension - download link is below: http://www.loginovprojects.ru/index.php?page=ibxfbutils