display-medicalBasic Model

Create a Classic Orders model ..

circle-exclamation

Workshop - Classic Model


  1. Start Schema Workbench:

circle-info

Windows (PowerShell):

circle-info

Linux:

  1. Ensure Pentaho Server is running:

triangle-exclamation

Follow the guide below to understand how Classic Models Schema is defined:

Workflow to define a Schema
circle-info

JDBC Connection

A JDBC (Java Database Connectivity) connection in Schema Workbench establishes the link between the tool and your source database, enabling you to access physical tables and columns needed to build Mondrian schemas.

triangle-exclamation
JDBC Connection - mysql:sampledata

  1. To connect to the sampledata database, from the menu select Options > Connection.

JDBC Connection
  1. In the Database Connection dialog, type or choose the following:

Field
Value

Connection name

hsqldb_sampledata

Connection type

Hypersonic

Host Name

localhost

Database Name

sampledata

Port Number

9001

Username

pentaho_admin

Password

password

  1. Click Test.

JDBC Connection - hsqldb_sampledata
  1. Click OK to dismiss the Message Box dialog and click OK to close the Database Connection dialog.


circle-info

Pentaho Server JDBC

The workflow above creates and defines a JDBC clientside, i.e. it enables the SAchema Workbench to connect to the Hypersonic Data Source. When you Publish the Schema to the Pentaho Repository, you need to ensure that the same connection is also defined - Manage Data Sources.

  1. Log into the Pentaho Server Console (as Admin) > Manage Data Sources.

Manage Data Sources
  1. From the drop-down co wheel, select: New Connection.

New Connection
  1. In the Database Connection dialog, type or choose the following:

    Field
    Value

    Connection name

    hsqldb_sampledata

    Connection type

    Hypersonic

    Host Name

    localhost

    Database Name

    sampledata

    Port Number

    9001

    Username

    pentaho_admin

    Password

    password

  2. Test the connection.

Connection - hsqldb_sampledata
  1. Click OK.

circle-exclamation

Last updated

Was this helpful?