Describes how to connect to Berkeley DB.
The AnyDAC SQLite native driver supports Berkeley DB version 5.1 and higher in SQL mode only. Read "Connect to SQLite database" chapter for more details. AnyDAC distinguishes SQLite and BDB DBMS brands and adjusts its own behavior to the connected database.
AnyDAC requires the following x86 or x64 client software to be installed on the workstation:
here.You can put the required files into one of the folders. Note, there must be no sqlite3.dll, otherwise AnyDAC will pickup this dll:
[BDB] BaseDriverID=SQLite VendorLib=<folder>\libdb_sql51.dll
AnyDAC supports only dynamic linking of Berkeley DB x86 or x64 library. Note, by default SQLite driver is configured for static linking and Berkeley DB does not support static linking. To enable that:
{$DEFINE AnyDAC_SQLITE_STATIC} // Use SQLite3 static linking library
and replace it with:
{.$DEFINE AnyDAC_SQLITE_STATIC} // Use SQLite3 static linking library
(dot between { and $)
AnyDAC on Linux supports only dynamic linking and requires:
The parameters are the same as for SQLite.
Notes:
DriverID=BDB LockingMode=Normal Database=$(ADHOME)\DB\Data\ADDemo.db
|
What do you think about this topic? Send feedback!
|