|
|
|
@ -44,9 +44,7 @@ public class AotMongoRepositoryPostProcessor extends RepositoryRegistrationAotPr |
|
|
|
lazyLoadingProxyAotProcessor.registerLazyLoadingProxyIfNeeded(type, generationContext); |
|
|
|
lazyLoadingProxyAotProcessor.registerLazyLoadingProxyIfNeeded(type, generationContext); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
boolean enabled = Boolean.parseBoolean( |
|
|
|
if (!repositoryContext.isGeneratedRepositoriesEnabled("mongodb")) { |
|
|
|
repositoryContext.getEnvironment().getProperty(AotContext.GENERATED_REPOSITORIES_ENABLED, "false")); |
|
|
|
|
|
|
|
if (!enabled) { |
|
|
|
|
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|