Database drivers: PostgreSQL | Linux MDB | SQLite
sqlite-sdbc-driver-0.1.0
Content
Introduction
Use SQLite 2.8.x to read 選び出す/独身 とじ込み/提出する SQLite databases under Linux (and later Windows).
取り付け・設備
-
On Linux, 任命する/導入する the SQLite binary 一括 suitable for your distro. The 最小限 SQLite 見解/翻訳/版 要求するd is 2.8.13
-
任命する/導入する OpenOffice.org 1.1 or newer.
-
Download the binary 見解/翻訳/版 of the driver.
(The sqlite3... driver is a quick port to the 近づいている SQLite 3 engine (現在/一般に beta 見解/翻訳/版 3.0.6 on www.sqlite.org). It does not use newer features of the SQLite3 API but 単に is an adaption of the 現在の driver.)
Copy the zip とじ込み/提出する in OpenOffice1.1/使用者/uno_packages
folder (公式文書,認める:
USE the zip とじ込み/提出する as a whole, DO NOT 抽出する it). Open up a 爆撃する and switch to
the OpenOffice1.1/program directory and start the pkgchk 道具. On success, no
生産(高) is given. Alternatively, you can 任命する/導入する the driver for all 使用者s of a
OpenOffice.org 網状組織 取り付け・設備 by placing the とじ込み/提出する into the OpenOffice1.1/株/uno_packages
and starting pkgchk --株d You can uninstall the 一括 by 削除するing the とじ込み/提出する
in the uno_packages directory and starting pkgchk again.
追加するing a datasource
You can now 追加する a datasource 経由で the ありふれた 道具s/Data Sources dialog. Click on new datasource and select sqlite from the Database type combobox. Then put the とじ込み/提出する 指名する of your SQLite database 権利 after the sqlite: into the URL input field.
URL 判型
判型: sdbc:sqlite:sqlite_database_filename
Supported and 行方不明の features
The driver supports reading and 令状ing SQLite 2 databases. It has the に引き続いて 制限s:
-
It uses the encoding of the SQLite engine. Depending on how SQLite was 生成するd, this is ISO 8859-1 or UTF-8.
-
The data types supported for now are INTEGER and VARCHAR. In result 始める,決めるs, INTEGER is only 報告(する)/憶測d for "INTEGER PRIMARY KEY" fields, i.e. SQLite's 自動車 incrementing columns. All other columns are VARCHARs.
-
It is possible to create new SQLite (米)棚上げする/(英)提議するs from OpenOffice.org's (米)棚上げする/(英)提議する designer. However, creating/削除するing 索引s may fail 予定 to bugs in SQLite's SQL parser or OpenOffice.org's SQL dialect.
- The driver is always in 自動車 commit 方式.
-
The driver may 含む/封じ込める memory 漏れるs and bugs which can 衝突,墜落 OpenOffice.org
Open questions
Building from source
Linux: Fetch the
source code and unpack it in .../connectivity/source/drivers. 体制/機構 your
OOo 環境 for building, then goto the
.../connectivity/source/drivers/sqlite directory and type dmake. The source
code 推定する/予想するs the SQLite header とじ込み/提出するs and libraries in 基準 places
(/usr/含む and /usr/lib)
Building on Windows should be possible but was not 実験(する)d so far.
Authors
The driver has been 器具/実施するd based on the MDB driver by Christian Werner(chw@openoffice.org)