Class HsqlChildCatalogsGraphNativeSqlStrategy

java.lang.Object
com.broadleafcommerce.tenant.provider.jpa.repository.strategies.HsqlChildCatalogsGraphNativeSqlStrategy
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy, org.springframework.core.Ordered

public class HsqlChildCatalogsGraphNativeSqlStrategy extends Object implements com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
HSQL specific strategy for fetching an inheritance line from a starting catalog to all child catalogs any level deep.
Author:
Jeff Fischer
  • Constructor Details

    • HsqlChildCatalogsGraphNativeSqlStrategy

      public HsqlChildCatalogsGraphNativeSqlStrategy(com.broadleafcommerce.data.tracking.jpa.IdType idType)
  • Method Details

    • isValid

      public boolean isValid(jakarta.persistence.EntityManager em)
      Specified by:
      isValid in interface com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
    • getName

      public String getName()
      Specified by:
      getName in interface com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
    • getSql

      public String getSql(Map<String,Object> args)
      Specified by:
      getSql in interface com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy