Orbeon Forms
  • Getting started
  • Installation
    • Logging
    • Configuration banner
    • Docker
    • Azure
    • Tomcat
    • WildFly
    • WebSphere
    • WebLogic
    • GlassFish
    • Caches
    • Replication
    • Upgrading
  • Configuration
    • Properties
      • General
        • HTTP client
      • Form Runner
        • Detail page
          • Attachments
          • Email
          • PDF
          • Table of contents
        • Persistence
        • Summary page
      • Form Builder
      • XForms
    • Advanced
      • Workflows
      • Session management
      • State handling
      • Client-side error handling
      • Clustering and High Availability
      • Configuring a Form Runner eXist database
      • Creating a production WAR
      • Environments
      • JavaScript and CSS assets
      • Limiter filter
      • Run modes
      • Security
        • Content-Security-Policy header
      • SAP Hybris Module
      • XForms logging
    • Troubleshooting
      • Troubleshooting with the orbeon.log
      • Memory and threads
      • Relational database logging
      • Misc
  • Form Builder
    • Form settings
      • Time window
    • Form editor
      • Form area
      • Toolbox
      • Buttons bar
      • Control settings
      • Dependent fields and sections
      • Validation
      • Choices editor
      • Publishing
      • Cut, copy and paste
      • Section and grid settings
      • Section settings
      • Grid settings
      • Quick control search
      • Repeat settings
      • Repeated grids
      • Undo and redo
      • Keyboard shortcuts
    • Formulas
      • Examples of formulas
      • Formulas inspector
      • Formulas console
    • Summary page
    • Form localization
    • Advanced
      • Edit source
      • Services and actions
        • HTTP services
        • Database services
        • Simple Actions
        • Action Syntax
        • Action Syntax examples
        • Synchronizing repeated content
      • Testing a form in web mode
      • Testing PDF production
      • Testing offline functionality
      • Email settings
      • Field-level encryption
      • Messages
      • Section templates
      • Template syntax
      • XML Schemas support
      • Extensibility
        • Extension API
        • Integration
        • Toolbox component metadata
  • Form Runner
    • Overview
      • Terminology
    • Pages
      • Landing page
      • Published Forms page
      • Forms Admin page
      • Summary page
    • Components
      • Alert dialog
      • Attachment
      • Autocomplete
      • Captcha
      • Character counter
      • Checkbox input
      • Currency
      • Date
      • Dropdown date
      • Static and dynamic dropdown
      • Error summary
      • Grid
      • Handwritten signature
      • Hidden field
      • Image
      • Image annotation
      • Image attachment
      • Number
      • Open selection
      • Repeater
      • Formatted Text / Rich Text Editor
      • Section
      • Single-selection tree
      • Source code editor
      • Time
      • US phone
      • US state
      • Video
      • Video attachment
      • Wizard
      • XForms inspector
      • Yes/No answer
    • Features
      • Automatic calculations dependencies
      • Datasets
      • Excel and XML import
      • Excel and XML export
      • Summary page Excel Export
      • Form definitions and form data Zip Export
      • Purging historical data
      • Lease
      • Localization
      • Supported languages
      • Mobile support
      • Multitenancy
      • Form Runner navigation bar
      • PDF production
        • Automatic PDF
        • Automatic PDF header and footer configuration
        • PDF templates
      • Responsive design
      • Revision history
      • S3 storage
      • Simple data migration
      • TIFF production
      • Versioning
      • Wizard view
      • Workflow stage
    • Persistence
      • Using a relational database
      • Relational database schema
      • Purging old data using SQL
      • Auditing
      • Autosave
      • Database support
      • Flat view
    • Linking and embedding
      • Linking
      • Java Embedding API
      • JavaScript Embedding API
      • Liferay full portlet
      • Liferay proxy portlet
      • Securing Form Runner access
      • Form Runner offline embedding API
      • Angular component
      • React component
    • Access control and permissions
      • Users
      • Login & Logout
      • Deployed forms
      • Form fields
      • Editing forms
      • Owner and group member
      • Organizations
      • Scenarios
      • Token-based permissions
    • Styling
      • CSS
      • Grids CSS
      • Automatic PDF styling and CSS
    • APIs
      • Authentication of server-side service APIs
      • Persistence API
        • CRUD API
        • Search API
        • List form data attachments API
        • Form Metadata API
        • Lease API
        • Reindexing API
        • Caching
        • Versioning
        • Revision History API
        • Zip Export API
        • Custom persistence providers
      • Other APIs
        • Connection context API
        • Duplicate form data API
        • File scan API
        • Form Runner JavaScript API
        • Generate XML Schema API
        • PDF API
        • Publish form definition API
        • Run form in the background API
      • Data formats
        • Form data
        • Date and time
        • Form definition
    • Architecture and integration
      • Architecture
      • Access form data
      • Integration
    • Advanced
      • Buttons and processes
        • Simple process syntax
        • Core actions
        • Form Runner actions
          • Save action
          • Send action
          • Email action
        • XForms actions
        • Predefined buttons, processes and dialogs
        • Summary page buttons and processes
      • Custom dialogs/model logic
      • Services
      • Singleton form
      • Monitoring HTTP requests
  • XForms
    • Core
      • Attribute Value Templates (AVTs)
      • Binds
      • Validation
      • Variables
      • Keyboard focus
      • XForms JavaScript API
      • Error handling
        • Detailed behavior
      • Model-Bind variables
      • XForms 2.0 support
    • Events
      • Standard support
      • UI refresh events
      • Keyboard events
      • Extension events
      • Extension context information
      • Other event extensions
    • Actions
      • Repeat, insert and delete
      • Scripting actions
      • Extensions
    • Controls
      • Label, hint, help
      • Input
      • Output
      • Text area
      • Button
      • Upload
      • Dialog
    • Submission
      • Standard support
      • JSON support
      • Asynchronous submissions
      • Caching extension
      • Other submission extensions
    • XPath
      • Type annotations
      • Expression analysis
      • Tips
      • Compatibility
      • Standard functions
      • Maps and arrays Functions
      • Extension functions
        • Core functions
        • Utility functions
        • Model functions
        • Controls functions
        • XML functions
        • JSON functions
        • HTTP functions
        • Form Runner functions
        • Other functions
        • Deprecated functions
    • XBL components
      • FAQ
      • Guide
        • XBL Tutorial
        • Bindings
        • XForms models
        • Including content
        • Event handling
        • Conventions
        • Map XBL example
        • Learning from existing components
      • Advanced topics
        • XBL Modes
        • JavaScript companion classes
        • XBL library
        • Extensions
        • Attachment controls
    • XForms tutorial
      • Introduction
      • Installation
      • The Hello application
      • The Bookcast application
        • The basic app
        • Database access
        • Polishing the app
        • Adding a feed
    • Using XForms from Java apps
  • XML Platform
    • Page Flow Controller
      • Basics
      • XML submission
      • Navigating between pages
      • Paths and matchers
      • Other configuration elements
      • Typical combinations of page model and page view
      • Examples
      • Authorizing pages and services
    • Processors
      • URL generator
      • Request generator
      • PDF to image converter
    • Resources
      • Resource managers
      • Setting up an external resources directory
    • Other
      • Binary and text documents
  • FAQ
    • Licensing
    • PE and Dev Support
    • Form Builder and Form Runner
    • Resources and support
    • Other technical questions
  • Contributors
    • Automated tests
    • Building Orbeon Forms
    • Localizing Orbeon Forms
    • Validation functions
    • Contributor License Agreement
  • Release notes
    • Orbeon Forms 2022.1.9
    • Orbeon Forms 2024.1.1
    • Orbeon Forms 2023.1.7
    • Orbeon Forms 2024.1
    • Orbeon Forms 2023.1.6
    • Orbeon Forms 2023.1.5
    • Orbeon Forms 2021.1.11
    • Orbeon Forms 2022.1.8
    • Orbeon Forms 2023.1.4
    • Orbeon Forms 2023.1.3
    • Orbeon Forms 2023.1.2
    • Orbeon Forms 2022.1.7
    • Orbeon Forms 2023.1.1
    • Orbeon Forms 2023.1
    • Orbeon Forms 2022.1.6
    • Orbeon Forms 2021.1.10
    • Orbeon Forms 2022.1.5
    • Orbeon Forms 2021.1.9
    • Orbeon Forms 2022.1.4
    • Orbeon Forms 2022.1.3
    • Orbeon Forms 2021.1.8
    • Orbeon Forms 2022.1.2
    • Orbeon Forms 2022.1.1
    • Orbeon Forms 2022.1
    • Orbeon Forms 2021.1.7
    • Orbeon Forms 2021.1.6
    • Orbeon Forms 2021.1.5
    • Orbeon Forms 2021.1.4
    • Orbeon Forms 2021.1.3
    • Orbeon Forms 2021.1.2
    • Orbeon Forms 2021.1.1
    • Orbeon Forms 2021.1
    • Orbeon Forms 2020.1.6
    • Orbeon Forms 2019.2.4
    • Orbeon Forms 2019.1.2
    • Orbeon Forms 2018.2.5
    • Orbeon Forms 2018.1.4
    • Orbeon Forms 2020.1.5
    • Orbeon Forms 2020.1.4
    • Orbeon Forms 2020.1.3
    • Orbeon Forms 2020.1.2
    • Orbeon Forms 2019.2.3
    • Orbeon Forms 2020.1.1
    • Orbeon Forms 2020.1
    • Orbeon Forms 2019.2.2
    • Orbeon Forms 2019.2.1
    • Orbeon Forms 2019.1.1
    • Orbeon Forms 2019.2
    • Orbeon Forms 2019.1
    • Orbeon Forms 2018.2.4
  • Release history
  • Use cases
  • Product roadmap
  • Index of features
Powered by GitBook
On this page
  • Overview
  • Tables
  • Sequences
  • Current DDL
  • Introduction
  • Oracle
  • MySQL
  • SQL Server
  • PostgreSQL
  • DB2
  • Historical DDL
  • Introduction
  • Oracle
  • MySQL
  • SQL Server
  • PostgreSQL
  • DB2
  • See also
  1. Form Runner
  2. Persistence

Relational database schema

PreviousUsing a relational databaseNextPurging old data using SQL

Last updated 1 month ago

Overview

Orbeon Forms uses, out of the box, a relational database persistence provider. This page describes the purpose of the tables and sequences used by this provider, as well as points to current and historical DDL (Data Definition Language) files for the supported versions of Orbeon Forms.

For more about the relational database setup, see .

Tables

Table Name
Description
See also

orbeon_form_definition

Holds published form definitions.1

orbeon_form_definition_attach

Holds attachments related to published form definitions.1

orbeon_form_data

Holds saved and draft form data.2

orbeon_form_data_attach

Holds attachments associated with submitted form data.2

orbeon_form_data_lease

Holds information about active leases on form data.

orbeon_organization

Holds information about organizations.

orbeon_i_current

Holds references to the current form data, as opposed to historical data.

orbeon_i_control_text

Holds the values of indexed form controls for search and the Summary page.

orbeon_seq

Used to generate organization IDs (except for Oracle where it is a sequence).

  1. The orbeon_form_definition and orbeon_form_definition_attach also hold published section template libraries and their attachments if any.

  2. The orbeon_form_data and orbeon_form_data_attach tables also hold unpublished form definitions, unpublished libraries, as well as form templates, and their attachments if any. These form definitions, libraries, and form templates are visible when you go to the . You can edit them with Form Builder.

See also:

Sequences

Sequence Name
Description

orbeon_seq

Oracle database only: Used to generate organization IDs and form data IDs.

Current DDL

Introduction

The following sections list the DDL (Data Definition Language) files for the latest supported versions of Orbeon Forms. The DDL files are used to create the database schema from scratch or to upgrade an existing schema to a newer version.

Oracle

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2024.1 and newer

2022.1 to 2023.1

MySQL

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2024.1 and newer

2022.1 to 2023.1

SQL Server

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2024.1 and newer

2023.1

2022.1

PostgreSQL

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2024.1 and newer

2023.1

2022.1

DB2

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2022.1 and newer

Historical DDL

Introduction

The following sections list the DDL (Data Definition Language) files for older and non-supported versions of Orbeon Forms.

Oracle

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2019.1 to 2021.1

2018.2

2017.2, 2018.1

2017.1

2016.3

2016.2

4.10, 2016.1

4.6, 4.7, 4.8, 4.9

4.5

4.4

4.3

-

MySQL

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2019.1 to 2021.1

2018.2

2017.2, 2018.1

2016.3, 2017.1

2016.2

4.6 to 4.10, 2016.2

4.5

4.4

4.3

-

SQL Server

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2019.1 to 2021.1

2017.2

2016.3 to 2017.1

2016.2

4.6 to 2016.1

-

PostgreSQL

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2019.1 to 2021.1

2018.2

2017.2, 2018.1

2016.3 to 2017.1

2016.2

4.8 to 2016.1

-

DB2

Orbeon Forms version(s)
DDL to create from scratch
DDL to upgrade from previous format

2019.1 to 2021.1

2017.2 to 2018.2

2016.3 to 2017.1

2016.2

4.6 to 2016.1

4.4 to 4.5

4.3

-

See also

For a list of supported Orbeon Forms versions, see .

For a list of supported Orbeon Forms versions, see .

Using Form Runner with a relational database
Form Builder Summary page
Terminology
Publishing
Release History
Release History
Database support
Using Form Runner with a relational database
Custom persistence providers
Search API
Lease feature
Organization-based permissions
Release History
Lease feature
Organization-based permissions
Search API
Organization-based permissions
oracle-2024_1.sql
oracle-2019_1-to-2024_1.sql
oracle-2019_1.sql
oracle-2018_2-to-2019_1.sql
mysql-2024_1.sql
mysql-2019_1-to-2024_1.sql
mysql-2019_1.sql
mysql-2018_2-to-2019_1.sql
sqlserver-2024_1.sql
sqlserver-2023_1-to-2024_1.sql
sqlserver-2023_1.sql
sqlserver-2019_1-to-2023_1.sql
sqlserver-2019_1.sql
sqlserver-2017_2-to-2019_1.sql
postgresql-2024_1.sql
postgresql-2023_1-to-2024_1.sql
postgresql-2023_1.sql
postgresql-2019_1-to-2023_1.sql
postgresql-2019_1.sql
postgresql-2018_2-to-2019_1.sql
db2-2019_1.sql
db2-2017_2-to-2019_1.sql
oracle-2019_1.sql
oracle-2018_2-to-2019_1.sql
oracle-2018_2.sql
oracle-2017_2-to-2018_2.sql
oracle-2017_2.sql
oracle-2017_1-to-2017_2.sql
oracle-2017_1.sql
oracle-2016_3-to-2017_1.sql
oracle-2016_3.sql
oracle-2016_2-to-2016_3.sql
oracle-2016_2.sql
oracle-4_10-to-2016_2.sql
oracle-4_10.sql
oracle-4_6-to-4_10.sql
oracle-4_6.sql
oracle-4_5-to-4_6.sql
oracle-4_5.sql
oracle-4_4-to-4_5.sql
oracle-4_4.sql
oracle-4_3-to-4_4.sql
oracle-4_3.sql
mysql-2019_1.sql
mysql-2018_2-to-2019_1.sql
mysql-2018_2.sql
mysql-2017_2-to-2018_2.sql
mysql-2017_2.sql
mysql-2016_3-to-2017_2.sql
mysql-2016_3.sql
mysql-2016_2-to-2016_3.sql
mysql-2016_2.sql
mysql-4_6-to-2016_2.sql
mysql-4_6.sql
mysql-4_5-to-4_6.sql
mysql-4_5.sql
mysql-4_4-to-4_5.sql
mysql-4_4.sql
mysql-4_3-to-4_4.sql
mysql-4_3.sql
sqlserver-2019_1.sql
sqlserver-2017_2-to-2019_1.sql
sqlserver-2017_2.sql
sqlserver-2016_3-to-2017_2.sql
sqlserver-2016_3.sql
sqlserver-2016_2-to-2016_3.sql
sqlserver-2016_2.sql
sqlserver-4_6-to-2016_2.sql
sqlserver-4_6.sql
postgresql-2019_1.sql
postgresql-2018_2-to-2019_1.sql
postgresql-2018_2.sql
postgresql-2017_2-to-2018_2.sql
postgresql-2017_2.sql
postgresql-2016_3-to-2017_2.sql
postgresql-2016_3.sql
postgresql-2016_2-to-2016_3.sql
postgresql-2016_2.sql
postgresql-4_8-to-2016_2.sql
postgresql-4_8.sql
db2-2019_1.sql
db2-2017_2-to-2019_1.sql
db2-2017_2.sql
db2-2016_3-to-2017_2.sql
db2-2016_3.sql
db2-2016_2-to-2016_3.sql
db2-2016_2.sql
db2-4_6-to-2016_2.sql
db2-4_6.sql
db2-4_4-to-4_6.sql
db2-4_4.sql
db2-4_3-to-4_4.sql
db2-4_3.sql