<dependency>
<groupId>org.apache.geronimo.arthur.knights</groupId>
<artifactId>openjpa-knight</artifactId>
<version>${arthur.version}</version>
</dependency>
Arthur OpenJPA knight is responsible to enable OpenJPA support for Graal native-image.
<dependency>
<groupId>org.apache.geronimo.arthur.knights</groupId>
<artifactId>openjpa-knight</artifactId>
<version>${arthur.version}</version>
</dependency>
The openjpa-knight
handles resources, resource bundles and reflection setup for HSQLDB.
You must register the hsqldb knight in arthur-maven-plugin
:
<plugin>
<groupId>org.apache.geronimo.arthur</groupId>
<artifactId>arthur-maven-plugin</artifactId>
<version>${arthur.version}</version>
<configuration>
<main>org.company.Main</main>
<graalExtensions>
<graalExtension>openjpa</graalExtension>
</graalExtensions>
</configuration>
</plugin>
If you need an embedded database you can use HSQLDB which is supported as well in native mode.
Previous: Knights