The goal of this blog post is to go beyond the basic HelloWorld program, and see how we can leverage GraalVM against a sample real-world JPA-based application, able to interact with a database. We will walk through what can be done along with the potential limitations.
A notable behavior of JPA providers is to enhance JPA classes, by modifying their bytecode to add few capabilities. DataNucleus (DN) currently provides a Maven Plugin for calling its Enhancer. This article walks through calling DN Enhancer in a Gradle build script in a very efficient way.