All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.babyfish.jimmer.sql.kt.loader.KReferenceLoader.kt Maven / Gradle / Ivy

There is a newer version: 0.8.184
Show newest version
package org.babyfish.jimmer.sql.kt.loader

import org.babyfish.jimmer.lang.NewChain
import org.babyfish.jimmer.sql.kt.fetcher.KFieldFilterDsl
import java.sql.Connection

interface KReferenceLoader {

    @NewChain
    fun forConnection(con: Connection): KReferenceLoader

    @NewChain
    fun forFilter(filter: KFieldFilterDsl.() -> Unit): KReferenceLoader

    fun load(source: S, con: Connection? = null): T?

    fun batchLoad(sources: Collection, con: Connection? = null): Map
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy