Skip to content

Commit 8a641d2

Browse files
authored
Add all-open option for Kotlin panache
The kotlin-maven-allopen plugin needs to be configured for entity classes.
1 parent 14f71db commit 8a641d2

File tree

1 file changed

+1
-0
lines changed
  • hibernate-orm-panache-kotlin-quickstart

1 file changed

+1
-0
lines changed

hibernate-orm-panache-kotlin-quickstart/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
<pluginOptions>
146146
<option>all-open:annotation=jakarta.ws.rs.Path</option>
147147
<option>all-open:annotation=jakarta.enterprise.context.ApplicationScoped</option>
148+
<option>all-open:annotation=jakarta.persistence.Entity</option>
148149
<option>all-open:annotation=io.quarkus.test.junit.QuarkusTest</option>
149150
</pluginOptions>
150151
</configuration>

0 commit comments

Comments
 (0)