Open dosomder opened 2 years ago
Hi @dosomder, sorry but we don't support spring-native way using datastore.
You can try to add spring native dependency, which would likely take care of Spring-specific annotations/reflection. But we have not tested these projects with native at this point.
Hi @elefeint
I am using spring-native and the supported spring-boot version, still the exception from the first post appears
Thanks for confirming! We have plans to look into native compilation compatibility after Spring Boot 3.0 comes out, but it definitely won't be supported until 2023.
Cool, looking forward to it because the start up time at the moment is really bad
Is there any support for spring-native when using datastore and its DatastoreRepository?
I have declared my repository like this:
Then I have another class that uses the repo:
While the project builds using spring-native, on start up I get the following exception:
In the file build/generated/resources/aotMain/MAIN-INF/spring.components, there is the following entry:
Is there some kind of additional configuration needed (like NativeHint)? How would it look like?