Class DbDemoConfig

java.lang.Object
com.vaadin.observability.tests.starter.DbDemoConfig

@Configuration @Profile("db-demo") public class DbDemoConfig extends Object
Provides the embedded H2 DataSource and JdbcTemplate that back DatabaseView and NumbersInitializer. Active only under the db-demo profile, which the JVM integration tests enable and the native image build leaves off — so the native image carries no JDBC stack and the kit's DataSource proxy is never created there.
  • Constructor Details

    • DbDemoConfig

      public DbDemoConfig()