Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installation

Unzip the ProcessDao-Plugin-x.y.z.zip and copy the extracted folders to the runtime folder (make sure that the  folder is merged).
UI Expand
titleJava
Include Page
_HomeFolder_HomeFolder

 In order to use this component, the process-sql-store profile must be active. More information on how to configure the application using Spring Profiles can be found here : R10 External application configuration with Spring Profiles [editor]

UI Expand
title.NET

Make In order to use this component, make sure to put have the ProcessCaseDaoBlueriqComponentDCM.dll file in the the /bin  directory directory of your .Net NET webapp installation.

Configuration

...

in directly or by using the Development plugin. So, either:Set the following property in :
UI Expand
titleJava

Use the following steps to configure the component datasource:

  1. If necessary, create a new datasource. See See R10 Configuring database connections in the Java webappJDBC database drivers [editor] for information on how to do this.Link the datasource to the process DAO plugin. This can be done by editing
Include Page
_PropertiesFileJava_PropertiesFileJava
Include Page
_HomeFolder_HomeFolder
Include Page
_PropertiesFileJava_PropertiesFileJava
Code Block
process.dao.name=ProcessCaseDao|Memory
#The following line is only required in case of the ProcessCaseDao
process.dao.connection=processdao_datasource_name
  • In the development plugin Settings page, go to Connections -> Process database and select the correct datasource.
  • Additional properties files named processdao.hibernate.properties and bam.hibernate.properties can be used to set the Hibernate properties.

    Excerpt Include_HibernateProperties_HibernatePropertiesnopaneltrue
     
    Info
    1. Process SQL Store component is using the main datasource to store data. The main datasource can be configured using JDBC or JNDI.
      1. Using JDBC datasource  : this can be configured in the  application-externaldatasources.properties file. When configuring external datasources , the externaldatasources profile should be enabled.

        application-externaldatasources.properties

         

        blueriq.datasource.main.url=jdbc:sqlserver://<database_url>:1433;databaseName=bq_main;instance=SQL_EXPRESS
        blueriq.datasource.main.username=<username>
        blueriq.datasource.main.password=<password>
        blueriq.datasource.main.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
        blueriq.hibernate.main.hbm2ddl.auto=validate
        blueriq.hibernate.main.dialect=org.hibernate.dialect.SQLServerDialect
      2. Using JNDI datasource : this can be configured in the  application-jndidatasources.properties file When configuring JNDI datasources the jndidatasources profile should be enabled.

        application-jndidatasources.properties

         

        blueriq.datasource.main.jndiName=java:/comp/env/jdbc/main
        blueriq.hibernate.main.hbm2ddl.auto=validate
        blueriq.hibernate.main.dialect=org.hibernate.dialect.SQLServerDialect
    2. Configuring the datasource from the Development Dashboard
      Go to Settings Widget → Datasources tab → On the left side menu : select Main datasource. The same properties are available for configuration as from the properties file.  Make sure the corresponding profile is enabled (externaldatasources or jndidatasources)
    3. Hibernate settings
      These settings are done for each datasource type in the corresponding properties file, as in the examples above
    This component uses database caching. The default cache configuration can be replaced by custom configuration. Please refer to the knowledge base article titled How to configure cache usage for database-related plugins for more information
    1. .
    UI Expand
    title.Net

    Configuring the database connection for the Process SQL store component Blueriq Component DCM  in .Net is done by adding a connection configuration to the 

    Include Page
    _PropertiesFileNet
    _PropertiesFileNet
     file.

    Code Block
    languagexml
    title.NET database configuration example
    <hibernate-configuration>
      <session-factories>
        <session-factory name="ProcessCaseDao">
          <properties>
            <property name="connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
            <property name="dialect" value="NHibernate.Dialect.MsSqlCeDialect" />
            <property name="connection.driver_class" value="NHibernate.Driver.SqlServerCeDriver" />
            <property name="connection.connection_string" value="Data Source=D:\Databases\ProcessDB.sdf" />
            <property name="show_sql" value="false" />
            <property name="current_session_context_class" value="Aquima.WebApplication.WebPersistenceUtility.Session.CurrentHibernateSessionContext, WebPersistenceUtility" />
          </properties>
        </session-factory>
      </session-factories>
    </hibernate-configuration>

    For more information about configuring database connections, see Configuring database connections in .NET webapp.

    Info

    The Process SQL store component looks for a database connection named "ProcessCaseDao" so make sure that this name is used in order to configure the Process DAO properly.

    All necessary DLL files on which the Process SQL store component Blueriq Component DCM depends can be found in the Pluginsthe /ProcessCaseDao/Lib bin directory of the webapp ZIP file.