Re: Cayenne and GraalVM

Andrus Adamchik <[email protected]> Wed, 11 Jan 2023 14:08:54 +0100
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
And per the latest comments in that task, Cayenne actually works with Graal, just not the module auto-loading part:

ServerRuntime.builder()

  // no autoloading, each module will need to be explicitly added below
  .disableModulesAutoLoading() 

  // add the main Cayenne module
  .addModule(new ServerModule())

   // ...
  .build();
Andrus

> On Jan 10, 2023, at 9:57 AM, Andrus Adamchik <[email protected]> wrote:
> 
> FYI: https://github.com/oracle/graal/issues/5716
> 
> A discussion on how to package a Cayenne app to a native executable with Graal. If anyone tried doing that before and has some experience, feel free to chime in.
> 
> Andrus