Skip to content

Commit

Permalink
Add native image support
Browse files Browse the repository at this point in the history
Including a workaround for spring-projects/spring-framework#31050
  • Loading branch information
philwebb authored and hinyinlam committed Sep 18, 2023
1 parent 7a424a5 commit ed7c37c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .sdkmanrc
@@ -1 +1 @@
java=17.0.8-librca
java=23.r20-nik
4 changes: 4 additions & 0 deletions dog-service/pom.xml
Expand Up @@ -64,6 +64,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1,11 @@
[
{
"interfaces": [
"org.hibernate.query.hql.spi.SqmQueryImplementor",
"org.hibernate.query.sqm.internal.SqmInterpretationsKey$InterpretationsKeySource",
"org.hibernate.query.spi.DomainQueryExecutionContext",
"org.hibernate.query.SelectionQuery",
"org.hibernate.query.CommonQueryContract"
]
}
]
@@ -0,0 +1,6 @@
[
{
"name": "org.postgresql.util.PGobject",
"allDeclaredConstructors": true
}
]
2 changes: 1 addition & 1 deletion dog-service/src/main/resources/application.yml
Expand Up @@ -8,7 +8,7 @@ spring:
jpa:
open-in-view: false
jmx:
enabled: true
enabled: false
mvc:
problemdetails:
enabled: true
Expand Down

0 comments on commit ed7c37c

Please sign in to comment.