How to configure X-Hive/DB support in <oXygen/>

The latest instructions on how to configure X-Hive/DB support in <oXygen/> can be found on our website.

 
  1. Copy jar resources. Check your X-Hive/DB lib directory from the server side (for example C:\Program Files\xhive-7.2\lib on Windows or /usr/local/X-Hive_7_2_2/lib on Linux) and copy the following files to [oXygen-install-folder]/lib directory

    • icu4j.jar
    • retroweaver-rt.jar
    • xhive.jar

    If you skip this step the application will display an error message when you try to run the query.

  2. Restart the <oXygen/> application.

  3. Configure the X-Hive/DB connection.

    Go to Preferences -> XML -> XSLT/FO/XQuery -> XQuery -> X-Hive/DB and configure the xhive.bootstrap, user, password and the database name.

  4. Configure X-Hive/DB as main validator for XQuery files.

    Go to Preferences -> XML -> XSLT/FO/XQuery -> XQuery and set X-Hive/DB for XQuery validation.

  5. Validate XQuery.

    After step 4, you will benefit of the automatic validation feature and you can use Validate button to get a list of validation errors.

  6. Execute XQuery.

    Go to associated scenario configuration and select X-Hive/DB as the transformation engine.