Matteo
12/28/2022, 12:49 AMapplication.yaml
but unfortunately it doesn't work as expected:
micronaut:
application:
name: micronaut-guide
netty:
default:
allocator:
max-order: 3
#tag::jpa[]
jpa:
default:
entity-scan:
packages:
- 'example.micronaut.domain' # <1>
properties:
hibernate:
show-sql: true
hbm2ddl:
auto: update # <2>
connection:
db-type: postgres # <3>
reactive: true
#end::jpa[]
test-resources:
containers:
postgres:
image-name: postgres:latest
⢠the postgres docker is not raised up š totally ignored! But I've followed what the documentation says: https://micronaut-projects.github.io/micronaut-test-resources/snapshot/guide/#modules-databases-jdbc
⢠the frameworks complains I'm now giving all the information needed:
Message: Could not resolve placeholder ${auto.test.resources.jpa.default.properties.hibernate.connection.url}
mmm... does this only work for mysql? any help to move this is appreciated ā¤ļøVampire
12/28/2022, 12:57 AMMatteo
12/28/2022, 1:00 AMMatteo
12/28/2022, 1:01 AMMatteo
12/28/2022, 1:04 AM