Class OracleChildCatalogsGraphNativeSqlStrategy
java.lang.Object
com.broadleafcommerce.tenant.provider.jpa.repository.strategies.OracleChildCatalogsGraphNativeSqlStrategy
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
,org.springframework.core.Ordered
public class OracleChildCatalogsGraphNativeSqlStrategy
extends Object
implements com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
Standard strategy for fetching an inheritance line from a starting catalog to all child catalogs
any level deep. Covers Postgres, MySql, and MariaDb.
- Author:
- Jeff Fischer
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionOracleChildCatalogsGraphNativeSqlStrategy
(com.broadleafcommerce.data.tracking.jpa.IdType idType) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
getOrder
-
Constructor Details
-
OracleChildCatalogsGraphNativeSqlStrategy
public OracleChildCatalogsGraphNativeSqlStrategy(com.broadleafcommerce.data.tracking.jpa.IdType idType)
-
-
Method Details
-
isValid
public boolean isValid(jakarta.persistence.EntityManager em) - Specified by:
isValid
in interfacecom.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
-
getName
- Specified by:
getName
in interfacecom.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
-
getSql
- Specified by:
getSql
in interfacecom.broadleafcommerce.data.tracking.jpa.persistence.NativeSqlStrategy
-