Versions Compared

Key

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

For the Blueriq Runtime there are two types of datasources that you can define in your properties:

Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources
or
Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources
. You can only enable one type by providing the type in the property spring.profiles.active.

Datasource configuration for the Customerdata Service can be found here: Customerdata service [old]service#Configuration

SubjectPropertyDefaultExplanation

Property file

spring.profiles.active=

Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources

Property file

spring.profiles.active=

Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources

Datasources







blueriq.datasource.[name].url
The url of the datasource which should be connected to.

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Only available when you have 

Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources
enables instead of 
Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources
.

blueriq.datasource.[name].username
The username to login to the datasource

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Only available when you have 

Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources
enables instead of
Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources
.

blueriq.datasource.[name].password
The password to login to the datasource

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Only available when you have 

Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources
enables instead of
Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources
.

blueriq.datasource.[name].driverClassName
The driver that needs to be used to connect to the datasource

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Only available when you have 

Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources
enables instead of
Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources
.

blueriq.datasource.[name].jndiName
The name of the jndi datasource connection.

Only available when you have

Include Page
BQ15:_ProfileJndiDatasourcesBQ15:
_ProfileJndiDatasources
instead of
Include Page
BQ15:_ProfileExternalDatasourcesBQ15:
_ProfileExternalDatasources
.

Include Page
BQ15:_PropertiesJndiDatasourcesBQ15:
_PropertiesJndiDatasources

blueriq.hibernate.[name].hbm2ddl.autovalidate

When starting server (SessionFactory)

Supported values: none / validate 

create/update/create-drop are not supported ways to create a schema. Use the dbscripts that are provided  with the release instead.

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Include Page
BQ15:_PropertiesJndiDatasourcesBQ15:
_PropertiesJndiDatasources

blueriq.hibernate.[name].dialect
The dialect that hibernate should use.

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Include Page
BQ15:_PropertiesJndiDatasourcesBQ15:
_PropertiesJndiDatasources

blueriq.hibernate.[name].use_nationalized_character_data

trueEnable nationalized character support on all string / clob based attributes ( string, char, clob, text etc ). Note that this property by defaults to true because 'hibernate.use_nationalized_character_data' is set in application.properties that is packaged in the default runtime WAR. When using H2 this property should be set to 'false' because H2 does not have specific nationalized data types. For more information about it's usage see: UTF8 support.

Include Page
BQ15:_PropertiesExternalDatasourcesBQ15:
_PropertiesExternalDatasources

Include Page
BQ15:_PropertiesJndiDatasourcesBQ15:
_PropertiesJndiDatasources

blueriq.datasource.h2.enabledfalseThis property is required to be set to 'true' when any data source configures a H2 database.Can be placed in any file.