Skip to content

Add AOT repository support. #2588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Add AOT repository support. #2588

wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

No description provided.

We now use the AOT infrastructure of Spring Framework 6 and data commons to provide AOT support building the foundation for native image compilation.
Additionally we register hints for GraalVM native image.
Also update jpa auditing configuration to avoid inner bean definitions.
* @author Christoph Strobl
* @since 3.0
*/
public class DataJpaRuntimeHints implements RuntimeHintsRegistrar {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Package private, rename to JpaRuntimeHints.

private String prepareAndRegisterSharedEntityManger(BeanDefinitionRegistry registry,
RepositoryConfigurationSource config) {

AbstractBeanDefinition entityManager = getEntityManagerBeanDefinitionFor(config, null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we move this bean registration into Spring Boot?

christophstrobl added a commit that referenced this pull request Jul 6, 2022
We now use the AOT infrastructure of Spring Framework 6 and data commons to provide AOT support building the foundation for native image compilation.
Additionally we register hints for GraalVM native image.
Also update jpa auditing configuration to avoid inner bean definitions.

See: #2497
Original Pull Request: #2588
@mp911de mp911de closed this May 22, 2023
@mp911de mp911de deleted the issue/2497 branch May 22, 2023 14:22
@mp911de mp911de added the type: enhancement A general enhancement label May 22, 2023
@mp911de mp911de added this to the 3.0 M5 (2022.0.0) milestone May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants