> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Project configuration

## Application properties

When using the Spring Boot Starter, configuration is managed through `application.yml` or `application.properties`. See the [configuration reference](../configuration-reference) for all available `atoti.what-if.*` properties.

## Persistence configuration

Hibernate properties for simulation persistence are provided through an `IWhatIfPersistenceProperties` bean. This bean can load properties from any source, such as a properties file, environment variables, or hardcoded values.

Example loading from a properties file:

```java theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
@Bean
public IWhatIfPersistenceProperties whatIfPersistenceProperties(
        @Value("classpath:hibernate.properties") Resource resource) throws IOException {
    Properties props = new Properties();
    props.load(resource.getInputStream());
    return () -> props.entrySet().stream()
        .collect(Collectors.toMap(
            e -> String.valueOf(e.getKey()),
            e -> String.valueOf(e.getValue())
        ));
}
```

## Legacy configuration files

Location: the application-specific **src/main/resources**

<table><thead><tr><th>File</th><th>Purpose</th></tr></thead><tbody><tr><td><a href="../../dev-ref-impl/dev-config-files/hibernate-properties">hibernate.properties</a></td><td>Configurations used when setting up the Hibernate implementation of the simulation persistence manager.</td></tr></tbody></table>
