Hello! JDBC URLs passed to database drivers usually can't contain any variables, so there is nothing to do on H2 side.
But Spring Boot provides multiple ways for such configurations: https://docs.spring.io/spring-boot/reference/features/external-config.html For example, you can have a configuration file on the system like many other system services have. System environment variables are also supported, but environment of the service process is not the same as environment of your user, so maybe your variable is not defined for your service or something else is wrong. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/h2-database/31a52921-fd42-49b2-b864-751f7cd8072an%40googlegroups.com.