Helical Insight is an Open Source Business Intelligence (BI) tool which supports Ingres database. In this article we will cover in detail, how you can connect, analyze, share and use other features of Helical Insight with Ingres Database.

Following are the steps to be performed at file system of Helical Insight (hi-repository/System/Admin) when the database is configured for the first time :

  1. JDBC Driver Configuration
  2. Dialect Configuration
  3. Database Function List Configuration


Post configuration process involves report creation. Following are the steps to create report with Helical Insight using Ingres Database:

  1. Datasource Creation
  2. Metadata Creation
  3. Adhoc Reports


JDBC Driver Configuration

JDBC driver configuration is required through which a database connection can be established with Helical Insight Application. Following are the steps to configure JDBC driver :

  • Download the JDBC type4 driver .jar file from the required sources.
  • Once the driver is downloaded, put that driver in a “Drivers” Folder of Helical Insight Application
    hi-repository/System/Drivers 

    and then immediately it will start appearing in the drop down list of Datasource. Click here for more details


Dialect Configuration

Dialect is used for generating SQL query as per the database selected. In Helical Insight Application, following are the steps to configure dialect :

  1. Go to hi-repository/System/Admin.

  2. sqlDialects.properties file

  3. Open sqlDialects.properties file in edit mode using text-editor such as notepad, notepad++.
  4. Add the below present line at the end of the file in a new line.
    com.ingres.jdbc.IngresDriver=org.hibernate.dialect.IngresDialect

    Note: Here, Ingres database have a separate Ingres dialect which is assigned to a ingres driver.

  5. Now, save the file.



Note : In case, dialect is not assigned then by default MySQL dialect is assigned to the selected database. In result, a sql query will be generated which may or may not support the selected database.


As Ingres Database follow ANSI standards hence another dialect configuration is required. Following are the steps to configure ANSI dialect:

  1. Go to hi-repository/System/Admin.
  2. Open adhocSqlSettings.xml file using a text-editor succh as notepad, notepad++, etc.
  3. Add the dialect
    <dialect>org.hibernate.dialect.IngresDialect</dialect>

    within the <ansiGroupByDialects> tag.

    ANSI Ingres Dialect Configuration

  4. Now, save the file.


Database Function List Configuration

While creating Adhoc reports, there are database functions which can be applied on datatypes such as text, numeric, datetime, etc. Now, to view the database functions list following are the files needs to be configured :

  1. .xml file.
  2. javascript / js file.
  3. sqlFunctionsXmlMapping.properties



XML file

This file contains the database functions in the XML format. Using this file, user can modify database functions. The XML file is saved as “databasename.xml” for example, “ingres.xml” or any name can be assigned. The required file has to be present inside the SqlFunctions folder.

Following are the steps to configure database XML file :

  1. Download the zip file which contains xml and js files.
  2. Now, extract the files and insert the ingres.xml inside the SqlFunctions folder.

    Folder Path :
  3. hi-repository/System/Admin/SqlFunctions


javascript /js file
Javascript file contains code used for defining the query syntax for the respective database. The JS file name must be same as the name assigned to the xml file of the respective database. The filename is case sensitive.

Following are the steps to configure JS file :

  1. Download the zip file which contains xml and js files.
  2. Now, extract the files and insert the ingres.js inside the SqlFunctions folder.

    Folder Path :

    hi-repository/System/Admin/SqlFunctions



sqlFunctionsXmlMapping.properties file
This file is used for configuring the xml file with the respective database. Following are the steps to configure :

  1. Open Admin folder present inside the helical insight repository.
  2. Folder Path :

    hi-repository/System/Admin
  3. Open sqlFunctionsXmlMapping.properties file in edit mode using text-editor like notepad++, etc
  4. Insert the code com.ingres.jdbc.IngresDriver=ingres in a new line.
  5. Now, save the file.

Note : In the above code, the name “ingres” should match with the name assigned to xml file (ingres.xml) and js file (ingres.js) .

ingres mapping



database funtion list
Database Functions List

Create Datasource

This process involves establishing a connection between Helical Insight application and SQLiteDB database.


There are 2 methods available for creating a Datasource in Helical Insight:

  1. Front End Approach
  2. Back End Approach

Following are the steps shown below to create datasource using available methods :



Method 1 : Front End Approach

  1. Login to Helical Insight Application.  ( For default credentials, click here )
  2. Click on “Home” button and select “Adhoc” from the list.
  3. On entering Adhoc Page, click on “Create” button in Datasources
  4. Select the “DataSource Type” from the given list. In this case, “Managed Datasource” will be used.
  5. Now, enter the following details as shown in the below image :

  6. ingres-datasource-connnection



    Datasource Details :

    Datesource Name : Ingres  ( user-defined name )
    Driver : com.ingres.jdbc.IngresDriver   ( Ingres JDBC driver )
    URL : jdbc:ingres://DELL:II7/demodb  (JDBC URL Format: jdbc:ingres://(host):(port)/database_name )
    Username : user
    Password : ospassword
    



    Note: If Ingres JDBC Driver is not present in the list then it can be added externally. Following are the steps to update driver list :

    • Download latest Ingres JDBC Driver.
    • Once you have downloaded the driver, you need to put that driver in a specific folder and then immediately it will start appearing in the drop down list of Datasource. Click here for more details


  7. Now, click on “Test connection” to validate the filled details.
  8. If the entered details are correct then “The test connection is established” notification is shown.
  9. Click on “Save Datasource” to confirm.
  10. Then, next step involves creation of metadata. After saving datasource, from the same page, click on “Metadata” (at the top right )
  11. Then, click on “Create”.

Further steps will be covered in “Create Metadata” step.


Method 2 : Back End Approach

  1. Go to “hi-repository” folder where a Helical Insight Application is installed and then open the folder.
  2. C:\Helical Insight\hi-repository
  3. Create a New Folder with any name say “Ingres Database” inside “hi-repository” folder.

  4. ingres-folder-hirepository


  5. Now, open a text-editor like notepad, notepad++ , and so on.
  6. Then enter the following details as given below :
  7. <EFWD>
          <DataSources>
                <Connection id="12" name="Ingres EFWD" type="sql.jdbc">
                    <Driver>com.ingres.jdbc.IngresDriver</Driver>
                    <Url>jdbc:ingres://localhost:II7/demodb</Url>
                    <User>user</User>
                    <Pass>os_password</Pass>
                 </Connection>
          </DataSources>
    </EFWD>
    
    • Connection ID : User can assign any ID (numeric only)
    • name : Name of the Datasource to be shown in the Datasource list
    • Url : For creating a URL, use the following SQLite JDBC URL format
    • jdbc:ingres://(host):(port)/database_name
    • User: Database Username
    • Password: Database password


  8. After entering the details, save the file as “filename.efwd

    Note: Saved file has to be present inside the Ingres Database folder of “hi-repository“.

  9. Now, the Ingres connection has been established. ( if entered details are correct )
  10. Then, next step involves creation on metadata.
  11. Now, login to Helical Insight Application using any web browser.
  12. Click on “Home” button and select “Adhoc” from the list.
  13. Then, Click on “Metadata” Tab and then select “Create”.

Further steps will be covered in “Create Metadata” step.


Create Metadata

For creating a metadata it is mandatory to have established datasource connection which is explained in create datasource.

  1. On clicking “Create” from “Metadata” tab, “Datasource Type” selection page is displayed.
  2. Select the “DataSource Type” from the given list.
    • For Method 1 : Select DataSource Type: Managed Datasource
    • For Method 2 : Select DataSource Type: Plain JDBC Datasource
  3. Click on the Datasource Name using which metadata will be created.
    • For Method 1 : Datasource Name “Ingres” is used. Any name can be assigned during configuration.


    • sqlite-managed-datasource


    • For Method 2 : Datasource Name “Ingres EFWD” is used. Any name can be assigned during configuration.
    • plain-jdbc-datasource


  4. Now , a metadata page appears where various operations can be performed such as table/column aliasing, defining joins, creating views and apply table/column/data security conditions.
  5. Click on “Save” to create metadata.
  6. After clicking “Save” button, a window will appear known as File Browser. Using File Browser, a metadata file is saved in the file-repository of Helical Insight.
  7. Then, click on “Save Metadata” to confirm.
  8. Now, metadata file is ready for creating Adhoc Reports.


Adhoc Reports :

Learn how to create Adhoc Report, click here




For further assistance, kindly contact us on support@helicalinsight.com or post your queries at forum.helicalinsight.com

Leave a Reply

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered