I try to make my first project with Micronaut and can't figure out how to confihure the datasource:
jpa.default.properties.hibernate.hbm2ddl.auto=create-drop
jpa.default.properties.hibernate.show_sql=true
jpa.default.properties.hibernate.connection.db-type=postgres
# Micronaut JPA/Hibernate Reactive configuration
jpa.default.reactive=true
jpa.default.properties.hibernate.connection.url=vertx-reactive:postgresql://localhost:5432/postgres
jpa.default.properties.hibernate.connection.username=postgres
jpa.default.properties.hibernate.connection.password=postgres
This causes
org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Cannot invoke "String.length()" because "path" is null
asked Sep 26, 2025 at 11:28
Dmitry
7591 gold badge12 silver badges39 bronze badges
lang-sql