Skip to content

Commit

Permalink
remove yaml configuration from hibernate JPA guide
Browse files Browse the repository at this point in the history
See: #1356
  • Loading branch information
sdelamo committed Nov 11, 2023
1 parent 3372d7f commit f60bbbf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 28 deletions.
2 changes: 1 addition & 1 deletion guides/micronaut-jpa-hibernate/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"apps": [
{
"name": "default",
"features": ["yaml","graalvm", "hibernate-jpa", "data-jpa", "serialization-jackson", "validation"]
"features": ["graalvm", "hibernate-jpa", "data-jpa", "serialization-jackson", "validation"]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
micronaut.application.name=micronautguide
#tag::application[]
application.max=50
#end::application[]
#tag::datasource[]
datasources.default.password=${JDBC_PASSWORD:""}
datasources.default.url=${JDBC_URL:`jdbc:h2:mem:default;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE`}
datasources.default.username=${JDBC_USER:sa}
datasources.default.driver-class-name=${JDBC_DRIVER:org.h2.Driver}
#end::datasource[]
#tag::jpa[]
jpa.default.properties.hibernate.hbm2ddl.auto=update
jpa.default.properties.hibernate.show_sql=true
#end::jpa[]
27 changes: 0 additions & 27 deletions guides/micronaut-jpa-hibernate/src/main/resources/application.yml

This file was deleted.

0 comments on commit f60bbbf

Please sign in to comment.