-
-
Notifications
You must be signed in to change notification settings - Fork 385
Closed
Labels
contribution wantedthis feature is wanted but won't be implemented by core team due to limited resourcesthis feature is wanted but won't be implemented by core team due to limited resourcesfixed & releasednew feature
Description
When using SpringBoot the JaversSqlAutoConfiguration sets up the "javersSqlRepository" bean. It uses the builder but it does not expose a way to call "withGlobalIdCacheDisabled()".
@Bean(name = "JaversSqlRepositoryFromStarter")
@ConditionalOnMissingBean
public JaversSqlRepository javersSqlRepository(ConnectionProvider connectionProvider) {
return SqlRepositoryBuilder
.sqlRepository()
.withSchema(javersSqlProperties.getSqlSchema())
.withConnectionProvider(connectionProvider)
.withDialect(javersSqlDialectName())
.withSchemaManagementEnabled(javersSqlProperties.isSqlSchemaManagementEnabled())
.build();
}Could you please add the "disable global id cache" property to "JaversSqlProperties" and then honor it in the bean builder.
My work around was to over the bean and add the additional method call in the builder but that isn't very good from a Javer's upgrade path for the applications. Since now I'm tied to ensuring I check that code before upgrade and add any additional changes that might have been made in the builder.
Metadata
Metadata
Assignees
Labels
contribution wantedthis feature is wanted but won't be implemented by core team due to limited resourcesthis feature is wanted but won't be implemented by core team due to limited resourcesfixed & releasednew feature