Versions Compared

Key

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

...

See Configuring database connection for information on how to create new connections for the different datasources.Use the following steps to configure the database connection:

  1. Using JDBC datasource:

    • If necessary, create a new connection. The connection needs to be configured in the

      Include Page
      _PropertiesFileJava
      _PropertiesFileJava
      file.

      Code Block
      languagepowershell
      titleapplication.properties (SQL Server example)
      blueriq.connection.reporting_local_sql.sql.url=jdbc:sqlserver://<database_url>:<port_number>;databaseName=<database_name>;instance=<instance_name>
      blueriq.connection.reporting_local_sql.sql.username=<username>
      blueriq.connection.reporting_local_sql.sql.password=<password>
      blueriq.connection.reporting_local_sql.sql.type=jdbc
      blueriq.connection.reporting_local_sql.sql.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
      blueriq.connection.reporting_local_sql.sql.poolInitialSize=0
      blueriq.connection.reporting_local_sql.sql.poolMaxIdle=8
      blueriq.connection.reporting_local_sql.sql.poolMaxTotal=8
      blueriq.connection.reporting_local_sql.sql.poolMaxWait=-1L
      blueriq.connection.reporting_local_sql.sql.poolMinIdle=0
      blueriq.connection.reporting_local_sql.sql.minEvictableIdleTimeMillis=1800000
      blueriq.connection.reporting_local_sql.sql.numTestsPerEvictionRun=3
      blueriq.connection.reporting_local_sql.sql.testOnBorrow=true
      blueriq.connection.reporting_local_sql.sql.testOnReturn=false
      blueriq.connection.reporting_local_sql.sql.testWhileIdle=false
      blueriq.connection.reporting_local_sql.sql.timeBetweenEvictionRunsMillis=-1
      blueriq.connection.reporting_local_sql.sql.validationQuery="SELECT 1"
      blueriq.connection.reporting_local_sql.sql.validationQueryTimeout=-1
      


  2. Using JNDI datasource:

...