0

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

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.