Class DataTrackingJpaAutoConfiguration

java.lang.Object
com.broadleafcommerce.data.tracking.jpa.autoconfigure.DataTrackingJpaAutoConfiguration

@ConditionalOnProperty(name="broadleaf.database.provider", havingValue="jpa") @Configuration @Import(JpaTrackingConfig.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class) @AutoConfigureBefore(com.broadleafcommerce.data.tracking.core.autoconfigure.TenantSynchronizationAutoConfiguration.class) @EnableConfigurationProperties(JpaProperties.class) public class DataTrackingJpaAutoConfiguration extends Object
Auto configuration entry point for jpa data tracking library
Author:
Jeff Fischer
  • Constructor Details

    • DataTrackingJpaAutoConfiguration

      public DataTrackingJpaAutoConfiguration()
  • Method Details

    • jpaNotificationStateRepositoryFragment

      @Bean @Primary @ConditionalOnMissingBean public NotificationStateValueUpdater jpaNotificationStateRepositoryFragment()
    • nativeSqlStrategyManager

      @Bean public NativeSqlStrategyManager nativeSqlStrategyManager(@Nullable List<NativeSqlStrategy> sqlStrategies)
    • hsqlApplicationOwnedCatalogNativeSqlStrategy

      @Bean public NativeSqlStrategy hsqlApplicationOwnedCatalogNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • oracleApplicationOwnedCatalogNativeSqlStrategy

      @Bean public NativeSqlStrategy oracleApplicationOwnedCatalogNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • defaultApplicationOwnedCatalogNativeSqlStrategy

      @Bean public NativeSqlStrategy defaultApplicationOwnedCatalogNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • hsqlMultiRootCatalogGraphNativeSqlStrategy

      @Bean public NativeSqlStrategy hsqlMultiRootCatalogGraphNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • oracleMultiRootCatalogGraphNativeSqlStrategy

      @Bean public NativeSqlStrategy oracleMultiRootCatalogGraphNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • defaultMultiRootCatalogGraphNativeSqlStrategy

      @Bean public NativeSqlStrategy defaultMultiRootCatalogGraphNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • hsqlMultiTopDownCatalogGraphNativeSqlStrategy

      @Bean public NativeSqlStrategy hsqlMultiTopDownCatalogGraphNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • oracleMultiTopDownCatalogGraphNativeSqlStrategy

      @Bean public NativeSqlStrategy oracleMultiTopDownCatalogGraphNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • defaultMultiTopDownCatalogGraphNativeSqlStrategy

      @Bean public NativeSqlStrategy defaultMultiTopDownCatalogGraphNativeSqlStrategy(@Value("${broadleaf.jpa.id.type:STRING}") String idType)
    • failFastJpaConfigValidator

      @Bean public FailFastJpaConfigValidator failFastJpaConfigValidator(javax.persistence.EntityManager em, com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil util)