支持Graalvm的ORM框架
https://github.com/gaarason/database-all
@NativeHint( types = @TypeHint(types = { // entity // ... GeneralModel.class, GeneralModel.Table.class }), jdkProxies = @JdkProxyHint(types = { // interface // ... Model.class, SoftDelete.class, Query.class, SpringProxy.class, Advised.class, DecoratingProxy.class }), aotProxies = { // model // ... @AotProxyHint(targetClass = GeneralModel.class) } ) @SpringBootApplication(proxyBeanMethods = false) public class GraalVmCompatibilityApplication { public static void main(String[] args) throws InterruptedException { try { SpringApplication.run(GraalVmCompatibilityApplication.class, args); } catch (Throwable throwable) { System.out.println("something is error."); System.out.println(throwable.getMessage()); System.out.println(Arrays.toString(throwable.getStackTrace())); } new CountDownLatch(1).await(); } }

浙公网安备 33010602011771号