Interface UncheckedJoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>

Type Parameters:
T -
SB - SQLBuilder used to generate sql scripts. Only can be SQLBuilder.PSC/PAC/PLC
TD -
All Superinterfaces:
JoinEntityHelper<T,SB,TD>
All Known Subinterfaces:
UncheckedCrudJoinEntityHelper<T,ID,SB,TD>, UncheckedCrudJoinEntityHelperL<T,SB,TD>, UncheckedReadOnlyCrudJoinEntityHelper<T,ID,SB,TD>, UncheckedReadOnlyCrudJoinEntityHelperL<T,SB,TD>, UncheckedReadOnlyJoinEntityHelper<T,SB,TD>

public interface UncheckedJoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>> extends JoinEntityHelper<T,SB,TD>
Author:
haiyangl
See Also:
  • ConditionFactory
  • ConditionFactory.CF
  • Method Details

    • findFirst

      default com.landawn.abacus.util.u.Optional<T> findFirst(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      findFirst in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      joinEntitiesToLoad -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • findFirst

      default com.landawn.abacus.util.u.Optional<T> findFirst(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      findFirst in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      joinEntitiesToLoad -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • findFirst

      default com.landawn.abacus.util.u.Optional<T> findFirst(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      findFirst in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      includeAllJoinEntities -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • findOnlyOne

      default com.landawn.abacus.util.u.Optional<T> findOnlyOne(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.DuplicatedResultException, com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      findOnlyOne in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      joinEntitiesToLoad -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • findOnlyOne

      default com.landawn.abacus.util.u.Optional<T> findOnlyOne(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.DuplicatedResultException, com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      findOnlyOne in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      joinEntitiesToLoad -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • findOnlyOne

      default com.landawn.abacus.util.u.Optional<T> findOnlyOne(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.DuplicatedResultException, com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      findOnlyOne in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      includeAllJoinEntities -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.DuplicatedResultException - if more than one record found by the specified id (or condition).
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • list

      @Beta default List<T> list(Collection<String> selectPropNames, Class<?> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      list in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      joinEntitiesToLoad -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • list

      @Beta default List<T> list(Collection<String> selectPropNames, Collection<Class<?>> joinEntitiesToLoad, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      list in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      joinEntitiesToLoad -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • list

      @Beta default List<T> list(Collection<String> selectPropNames, boolean includeAllJoinEntities, com.landawn.abacus.condition.Condition cond) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      list in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      includeAllJoinEntities -
      cond -
      Returns:
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(T entity, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityClass -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(T entity, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityClass -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(Collection<T> entities, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityClass -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(Collection<T> entities, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityClass -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(T entity, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropName -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      void loadJoinEntities(T entity, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropName -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(Collection<T> entities, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      void loadJoinEntities(Collection<T> entities, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(T entity, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      @Beta default void loadJoinEntities(T entity, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      @Beta default void loadJoinEntities(T entity, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      default void loadJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      @Beta default void loadJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntities

      @Beta default void loadJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadAllJoinEntities

      default void loadAllJoinEntities(T entity) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadAllJoinEntities

      @Beta default void loadAllJoinEntities(T entity, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadAllJoinEntities

      @Beta default void loadAllJoinEntities(T entity, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadAllJoinEntities

      default void loadAllJoinEntities(Collection<T> entities) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadAllJoinEntities

      @Beta default void loadAllJoinEntities(Collection<T> entities, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadAllJoinEntities

      @Beta default void loadAllJoinEntities(Collection<T> entities, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(T entity, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityClass -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(T entity, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityClass -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(Collection<T> entities, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityClass -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(Collection<T> entities, Class<?> joinEntityClass, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityClass -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(T entity, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropName -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(T entity, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity - ?
      joinEntityPropName -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(Collection<T> entities, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(Collection<T> entities, String joinEntityPropName, Collection<String> selectPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(T entity, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(T entity, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(T entity, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(Collection<T> entities, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(T entity) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(T entity, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(T entity, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      default void loadJoinEntitiesIfNull(Collection<T> entities) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(Collection<T> entities, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      inParallel -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • loadJoinEntitiesIfNull

      @Beta default void loadJoinEntitiesIfNull(Collection<T> entities, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      loadJoinEntitiesIfNull in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      executor -
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      default int deleteJoinEntities(T entity, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityClass -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      default int deleteJoinEntities(Collection<T> entities, Class<?> joinEntityClass) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityClass -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      int deleteJoinEntities(T entity, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropName -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      int deleteJoinEntities(Collection<T> entities, String joinEntityPropName) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      selectPropNames - all properties(columns) will be selected, excluding the properties of joining entities, if the specified selectPropNames is null.
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      default int deleteJoinEntities(T entity, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      @Beta @Deprecated default int deleteJoinEntities(T entity, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation maybe can't be finished in one transaction if isParallel is true.
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      inParallel -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      @Beta @Deprecated default int deleteJoinEntities(T entity, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation can't be finished in one transaction if it's executed in multiple threads.
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      joinEntityPropNames -
      executor -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      default int deleteJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      @Beta @Deprecated default int deleteJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation maybe can't be finished in one transaction if isParallel is true.
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      inParallel -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteJoinEntities

      @Beta @Deprecated default int deleteJoinEntities(Collection<T> entities, Collection<String> joinEntityPropNames, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation can't be finished in one transaction if it's executed in multiple threads.
      Specified by:
      deleteJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      joinEntityPropName -
      executor -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteAllJoinEntities

      default int deleteAllJoinEntities(T entity) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteAllJoinEntities

      @Beta @Deprecated default int deleteAllJoinEntities(T entity, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation maybe can't be finished in one transaction if isParallel is true.
      Specified by:
      deleteAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      inParallel -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteAllJoinEntities

      @Beta @Deprecated default int deleteAllJoinEntities(T entity, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation can't be finished in one transaction if it's executed in multiple threads.
      Specified by:
      deleteAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entity -
      executor -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteAllJoinEntities

      default int deleteAllJoinEntities(Collection<T> entities) throws com.landawn.abacus.exception.UncheckedSQLException
      Specified by:
      deleteAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteAllJoinEntities

      @Beta @Deprecated default int deleteAllJoinEntities(Collection<T> entities, boolean inParallel) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation maybe can't be finished in one transaction if isParallel is true.
      Specified by:
      deleteAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      inParallel -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception
    • deleteAllJoinEntities

      @Beta @Deprecated default int deleteAllJoinEntities(Collection<T> entities, Executor executor) throws com.landawn.abacus.exception.UncheckedSQLException
      Deprecated.
      the operation can't be finished in one transaction if it's executed in multiple threads.
      Specified by:
      deleteAllJoinEntities in interface JoinEntityHelper<T,SB extends com.landawn.abacus.util.SQLBuilder,TD extends UncheckedDao<T,SB,TD>>
      Parameters:
      entities -
      executor -
      Returns:
      the total count of updated/deleted records.
      Throws:
      com.landawn.abacus.exception.UncheckedSQLException - the unchecked SQL exception