Class HsqlCatalogRelationshipNativeSqlStrategy

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

public class HsqlCatalogRelationshipNativeSqlStrategy extends Object implements com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
Strategy for retrieving a list of catalog IDs that are members of the same inheritance graph. This implementation is for HSQL.
See Also:
  • Constructor Details

    • HsqlCatalogRelationshipNativeSqlStrategy

      public HsqlCatalogRelationshipNativeSqlStrategy()
  • 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