QOF: QOF-backend-SQLite support

QOF 0.7.5

QOF-backend-SQLite support
Query Object Framework » Backends: Permanent storage for QOF entities.

The QOF SQLite backend is now mostly functional. This backend is designed for use by embedded systems where libxml2 is too large - other, larger, systems will be able to use a more comprehensive libgda backend that can connect with a variety of databases using plugins.

SQLite is typeless so the types defined for the various QOF parameter types act as more of a guide than a rule.

Since
  0.7.3 KVP support - a separate table in the sqlite file in order to support a value, a path and a type for each KvpValue and to support more than one value (more than one frame) per entity. i.e. a relational database arrangement where the entity record contains a reference to the kvp table. That reference id is the GUID of the entity. The KVP table name is preset and created as:

      CREATE TABLE sqlite_kvp
      ("kvp_id int primary key not null", "guid char(32)", "path mediumtext", "type mediumtext", "value text",
      END_DB_VERSION);

  Entity tables therefore do not contain kvp data. Although the KVP table uses an internal ID number, all lookups are done via the GUID of the entity.

      @{