C + + Builder 2007 uses dbexpress to develop Firebird database

Source: Internet
Author: User
Tags firebird database ini interbase trim

These days just from CB6 upgrade to cb2007, there is a program of their own to use the Dbexpress development Firebird database, the connection is not on the Internet to find some information, they have explored some cb2007 new features, introduced to everyone.

First of all, I am not a full-time programmer, programming is just a hobby, the following methods are not the first I found, I just tidy up, and to those who still cb6 under the development of the brothers to introduce points cb2007 new things. In order to meet cb2009, hehe.

Click to enlarge the picture.

1, first modify the dbexpress INI configuration default is C:\Documents and Settings\All Users\documents\rad Studio\dbexpress

Dbxconnections.ini Added content

Fbconnection is the Firebird Network version of the connection

Fb_econnection is firebird embedded version connection

[Fb_econnection]
Drivername=firebird_e
Database=database.fdb
Rolename=rolename
User_name=sysdba
Password=masterkey
servercharset=
Sqldialect=3
errorresourcefile=
localecode=0000
Blobsize=-1
Commitretain=true
Waitonlocks=true
InterBase transisolation=readcommited
Trim Char=false

[Fbconnection]
Drivername=firebird
Database=database.fdb
Rolename=rolename
User_name=sysdba

Password=masterkey

Sqldialect=3
localecode=0000
Blobsize=-1
Commitretain=true
Waitonlocks=true
InterBase transisolation=readcommited
Trim Char=false

Dbxdrivers.ini Added content

[Installed Drivers]
Db2=1
Firebird=1//Network Edition
Firebird_e=1//Embedded version
Interbase=1
Mysql=1
Oracle=1
Informix=1
Mssql=1
Asa=1
Ase=1
Blackfishsql=1
Dbxtrace=1
Dbxpool=1

Embedded version
[Firebird_e]
Getdriverfunc=getsqldriverinterbase
Libraryname=dbxint30.dll
Vendorlib=fbembed.dll
Database=database.fdb
Rolename=rolename
User_name=sysdba
Password=masterkey
servercharset=
Sqldialect=3
Blobsize=-1
Commitretain=true
Waitonlocks=true
errorresourcefile=
localecode=0000
InterBase transisolation=readcommited
Trim Char=false

Network Edition
[Firebird]
Getdriverfunc=getsqldriverinterbase
Libraryname=dbxint30.dll
Vendorlib=fbclient.dll
Database=database.fdb
Rolename=rolename
User_name=sysdba
Password=masterkey
servercharset=
Sqldialect=3
Blobsize=-1
Commitretain=true
Waitonlocks=true
errorresourcefile=
localecode=0000
InterBase transisolation=readcommited
Trim Char=false

[Firebird_e Transisolation]
Readcommited=1
repeatableread=2

[Firebird Transisolation]
Readcommited=1
repeatableread=2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.