HSQLDB Integration

From Apache OpenOffice Wiki
Jump to: navigation, search

This is a (more technically orientated) page about the integration of the HSQLDB engine[1] into OpenOffice.org.

Things To Do

  • localize error messages (currently all hard-coded English)
  • get rid of the "default_schema=true" parameter?

OpenOffice.org-specific settings

Connection settings which are currently necessary to connect to HSQLDB embedded in an OpenOffice.org database file

  • storage_key: unique key which globally identifies the connection/storage
  • fileaccess_class_name: Name of the class implementing the file access
  • default_schema=true: lets HSQLDB behave as if it doesn't support schemas

Desired Features

  • single-file
    This would allow to get rid of the temporary files which are currently needed when working on the embedded HSQLDB, and thus remove some performance penalties
  • separation of the "auto increment" from the "primary key" concept. Currently, if you declare a column to be an auto increment column, it inevitable becomes the primary key
  • editable views
    Currently, if you create a view as simple as SELECT * FROM table</code<, this is not updateable, even if <code>table itself is.

(side note: Hmm, have to check which part OOo plays here - perhaps it's OOo's fault in real?)

Personal tools