接口 JavaRepository<E,ID>

类型参数:
E - The entity type
ID - The entity id type
所有已知实现类:
AbstractJavaRepository

public interface JavaRepository<E,ID>
In earlier versions of Jimmer, type JRepository was used to support spring data style repository support.

However, based on user feedback, this interface was rarely used. The root causes are:

  • Unlike JPA and MyBatis, which have lifecycle management objects like EntityManager/Session, Jimmer itself is already designed with a stateless API. Therefore, the stateless abstraction of spring dData style repository is meaningless for Jimmer.
  • Jimmer itself emphasizes type safety and strives to detect problems at compile-time. spring data's approach based on conventional method names and @Query annotations would lead to problems only being found at runtime (How Intellij helps certain solutions cheat is not discussed here), which goes against Jimmer's design philosophy.
Therefore, developer can simply write a class and annotate it with Repository. At this point, users can choose to implement this interface or extends class AbstractJavaRepository. Note, that this is optional, not mandatory.
  • 方法概要

    修饰符和类型
    方法
    说明
    default long
     
    long
    deleteById(ID id, org.babyfish.jimmer.sql.ast.mutation.DeleteMode deleteMode)
     
    default long
     
    long
    deleteByIds(Iterable<ID> ids, org.babyfish.jimmer.sql.ast.mutation.DeleteMode deleteMode)
     
    <V extends org.babyfish.jimmer.View<E>>
    List<V>
    findAll(Class<V> viewType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    default List<E>
    findAll(org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    findAll(org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    default E
     
    <V extends org.babyfish.jimmer.View<E>>
    V
    findById(ID id, Class<V> viewType)
     
    findById(ID id, org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher)
     
    default List<E>
     
    <V extends org.babyfish.jimmer.View<E>>
    List<V>
    findByIds(Iterable<ID> ids, Class<V> viewType)
     
    findByIds(Iterable<ID> ids, org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher)
     
    default Map<ID,E>
     
    <V extends org.babyfish.jimmer.View<E>>
    Map<ID,V>
    findMapByIds(Iterable<ID> ids, Class<V> viewType)
     
    findMapByIds(Iterable<ID> ids, org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher)
     
    <V extends org.babyfish.jimmer.View<E>>
    org.babyfish.jimmer.Page<V>
    findPage(PageParam pageParam, Class<V> viewType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    default org.babyfish.jimmer.Page<E>
    findPage(PageParam pageParam, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    org.babyfish.jimmer.Page<E>
    findPage(PageParam pageParam, org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    <V extends org.babyfish.jimmer.View<E>>
    org.babyfish.jimmer.Slice<V>
    findSlice(int limit, int offset, Class<V> viewType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    default org.babyfish.jimmer.Slice<E>
    findSlice(int limit, int offset, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    org.babyfish.jimmer.Slice<E>
    findSlice(int limit, int offset, org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
     
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insert(E entity)
    Shortcut for JSqlClient.insert(Object), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insert(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.insert(Object, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insert(org.babyfish.jimmer.Input<E> input)
    Shortcut for JSqlClient.insert(Input), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insert(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.insert(Input, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insertIfAbsent(E entity)
    Shortcut for JSqlClient.insertIfAbsent(Object), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insertIfAbsent(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.insertIfAbsent(Object, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insertIfAbsent(org.babyfish.jimmer.Input<E> input)
    Shortcut for JSqlClient.insertIfAbsent(Input), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    insertIfAbsent(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.insertIfAbsent(Input, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    merge(E entity)
    Shortcut for JSqlClient.merge(Object), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    merge(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.merge(Object, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    merge(org.babyfish.jimmer.Input<E> input)
    Shortcut for JSqlClient.merge(Input), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    merge(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.merge(Input, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(E entity)
    Shortcut or JSqlClient.save(Object), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
    Shortcut for JSqlClient.save(Object, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(E entity, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
    Shortcut for JSqlClient.save(Object, SaveMode), please view that method to know more
    org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(E entity, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
    Shortcut for JSqlClient.save(Object, SaveMode, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(org.babyfish.jimmer.Input<E> input)
    Shortcut for JSqlClient.save(Input) )}, please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
    Shortcut for JSqlClient.insertIfAbsent(Input, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
    Shortcut for JSqlClient.save(Input, SaveMode), please view that method to know more
    org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    save(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.SaveMode rootSaveMode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.save(Input, SaveMode, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveEntities(Iterable<E> entities)
    Shortcut for JSqlClient.saveEntities(Iterable), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveEntities(Iterable<E> entities, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
    Shortcut for JSqlClient.saveEntities(Iterable, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveEntities(Iterable<E> entities, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
    Shortcut for JSqlClient.saveEntities(Iterable, SaveMode), please view that method to know more
    org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveEntities(Iterable<E> entities, org.babyfish.jimmer.sql.ast.mutation.SaveMode rootSaveMode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.saveEntities(Iterable, SaveMode, AssociatedSaveMode) , please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs)
    Shortcut for JSqlClient.saveInputs(Iterable), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
    Shortcut for JSqlClient.saveInputs(Iterable, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
    Shortcut for JSqlClient.save(Input, SaveMode), please view that method to know more
    org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E>
    saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs, org.babyfish.jimmer.sql.ast.mutation.SaveMode rootSaveMode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.saveInputs(Iterable, SaveMode, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    update(E entity)
    Shortcut for JSqlClient.update(Object), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    update(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.update(Object, AssociatedSaveMode), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    update(org.babyfish.jimmer.Input<E> input)
    Shortcut for JSqlClient.update(Input), please view that method to know more
    default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
    update(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
    Shortcut for JSqlClient.update(Input, AssociatedSaveMode), please view that method to know more
  • 方法详细资料

    • findById

      @Nullable default E findById(ID id)
    • findById

      @Nullable E findById(ID id, @Nullable org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher)
    • findById

      @Nullable <V extends org.babyfish.jimmer.View<E>> V findById(ID id, Class<V> viewType)
    • findByIds

      @NotNull default List<E> findByIds(Iterable<ID> ids)
    • findByIds

      @NotNull List<E> findByIds(Iterable<ID> ids, @Nullable org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher)
    • findByIds

      @NotNull <V extends org.babyfish.jimmer.View<E>> List<V> findByIds(Iterable<ID> ids, Class<V> viewType)
    • findMapByIds

      @NotNull default Map<ID,E> findMapByIds(Iterable<ID> ids)
    • findMapByIds

      @NotNull Map<ID,E> findMapByIds(Iterable<ID> ids, org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher)
    • findMapByIds

      @NotNull <V extends org.babyfish.jimmer.View<E>> Map<ID,V> findMapByIds(Iterable<ID> ids, Class<V> viewType)
    • findAll

      @NotNull default List<E> findAll(org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findAll

      @NotNull List<E> findAll(@Nullable org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findAll

      @NotNull <V extends org.babyfish.jimmer.View<E>> List<V> findAll(Class<V> viewType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findPage

      @NotNull default org.babyfish.jimmer.Page<E> findPage(PageParam pageParam, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findPage

      @NotNull org.babyfish.jimmer.Page<E> findPage(PageParam pageParam, @Nullable org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findPage

      @NotNull <V extends org.babyfish.jimmer.View<E>> org.babyfish.jimmer.Page<V> findPage(PageParam pageParam, Class<V> viewType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findSlice

      @NotNull default org.babyfish.jimmer.Slice<E> findSlice(int limit, int offset, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findSlice

      @NotNull org.babyfish.jimmer.Slice<E> findSlice(int limit, int offset, @Nullable org.babyfish.jimmer.sql.fetcher.Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findSlice

      @NotNull <V extends org.babyfish.jimmer.View<E>> org.babyfish.jimmer.Slice<V> findSlice(int limit, int offset, Class<V> viewType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • save

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(E entity)
      Shortcut or JSqlClient.save(Object), please view that method to know more
    • save

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(E entity, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
      Shortcut for JSqlClient.save(Object, SaveMode), please view that method to know more
    • save

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
      Shortcut for JSqlClient.save(Object, AssociatedSaveMode), please view that method to know more
    • save

      org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(E entity, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
      Shortcut for JSqlClient.save(Object, SaveMode, AssociatedSaveMode), please view that method to know more
    • insert

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insert(E entity)
      Shortcut for JSqlClient.insert(Object), please view that method to know more
    • insert

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insert(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.insert(Object, AssociatedSaveMode), please view that method to know more
    • insert

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insert(org.babyfish.jimmer.Input<E> input)
      Shortcut for JSqlClient.insert(Input), please view that method to know more
    • insert

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insert(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.insert(Input, AssociatedSaveMode), please view that method to know more
    • insertIfAbsent

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insertIfAbsent(E entity)
      Shortcut for JSqlClient.insertIfAbsent(Object), please view that method to know more
    • insertIfAbsent

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insertIfAbsent(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.insertIfAbsent(Object, AssociatedSaveMode), please view that method to know more
    • insertIfAbsent

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insertIfAbsent(org.babyfish.jimmer.Input<E> input)
      Shortcut for JSqlClient.insertIfAbsent(Input), please view that method to know more
    • insertIfAbsent

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> insertIfAbsent(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.insertIfAbsent(Input, AssociatedSaveMode), please view that method to know more
    • update

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> update(E entity)
      Shortcut for JSqlClient.update(Object), please view that method to know more
    • update

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> update(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.update(Object, AssociatedSaveMode), please view that method to know more
    • update

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> update(org.babyfish.jimmer.Input<E> input)
      Shortcut for JSqlClient.update(Input), please view that method to know more
    • update

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> update(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.update(Input, AssociatedSaveMode), please view that method to know more
    • merge

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> merge(E entity)
      Shortcut for JSqlClient.merge(Object), please view that method to know more
    • merge

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> merge(E entity, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.merge(Object, AssociatedSaveMode), please view that method to know more
    • merge

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> merge(org.babyfish.jimmer.Input<E> input)
      Shortcut for JSqlClient.merge(Input), please view that method to know more
    • merge

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> merge(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.merge(Input, AssociatedSaveMode), please view that method to know more
    • saveEntities

      default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveEntities(Iterable<E> entities)
      Shortcut for JSqlClient.saveEntities(Iterable), please view that method to know more
    • saveEntities

      default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveEntities(Iterable<E> entities, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
      Shortcut for JSqlClient.saveEntities(Iterable, SaveMode), please view that method to know more
    • saveEntities

      default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveEntities(Iterable<E> entities, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
      Shortcut for JSqlClient.saveEntities(Iterable, AssociatedSaveMode), please view that method to know more
    • saveEntities

      org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveEntities(Iterable<E> entities, org.babyfish.jimmer.sql.ast.mutation.SaveMode rootSaveMode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.saveEntities(Iterable, SaveMode, AssociatedSaveMode) , please view that method to know more
    • save

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(org.babyfish.jimmer.Input<E> input)
      Shortcut for JSqlClient.save(Input) )}, please view that method to know more
    • save

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
      Shortcut for JSqlClient.save(Input, SaveMode), please view that method to know more
    • save

      default org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
      Shortcut for JSqlClient.insertIfAbsent(Input, AssociatedSaveMode), please view that method to know more
    • save

      org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E> save(org.babyfish.jimmer.Input<E> input, org.babyfish.jimmer.sql.ast.mutation.SaveMode rootSaveMode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.save(Input, SaveMode, AssociatedSaveMode), please view that method to know more
    • saveInputs

      default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs)
      Shortcut for JSqlClient.saveInputs(Iterable), please view that method to know more
    • saveInputs

      default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs, org.babyfish.jimmer.sql.ast.mutation.SaveMode mode)
      Shortcut for JSqlClient.save(Input, SaveMode), please view that method to know more
    • saveInputs

      default org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedMode)
      Shortcut for JSqlClient.saveInputs(Iterable, AssociatedSaveMode), please view that method to know more
    • saveInputs

      org.babyfish.jimmer.sql.ast.mutation.BatchSaveResult<E> saveInputs(Iterable<org.babyfish.jimmer.Input<E>> inputs, org.babyfish.jimmer.sql.ast.mutation.SaveMode rootSaveMode, org.babyfish.jimmer.sql.ast.mutation.AssociatedSaveMode associatedSaveMode)
      Shortcut for JSqlClient.saveInputs(Iterable, SaveMode, AssociatedSaveMode), please view that method to know more
    • deleteById

      default long deleteById(ID id)
    • deleteById

      long deleteById(ID id, org.babyfish.jimmer.sql.ast.mutation.DeleteMode deleteMode)
    • deleteByIds

      default long deleteByIds(Iterable<ID> ids)
    • deleteByIds

      long deleteByIds(Iterable<ID> ids, org.babyfish.jimmer.sql.ast.mutation.DeleteMode deleteMode)