DirectQuery annotations

This section gives you an overview on how you can use the Spring annotations defined in Atoti Market Risk to simplify the configuration when DirectQuery is used.

How it works

Some Spring annotations have been defined to make the definition of Beans easier. You can define these annotations at the Bean level or at the Class level.

Annotation Description
@OnInMemoryDatabase This annotation is conditional on DirectQuery being disabled, that is, on the in-memory datastore being used. Used in the definition of the following Spring configuration conditions:
- BeanEnabledSignoff
- ConfigurationLocalFileSystem
- ConfigurationAzureData
@OnDirectQueryDatabase This annotation is conditional on DirectQuery being enabled. Used in the definition of the following Spring configuration condition:
- BeanMissingSource