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

org.jetbrains.exposed.dao.DaoEntityIDFactory.kt Maven / Gradle / Ivy

There is a newer version: 0.56.0
Show newest version
package org.jetbrains.exposed.dao

import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.EntityIDFactory
import org.jetbrains.exposed.dao.id.IdTable

/**
 * Class representing a producer of [EntityID] instances, which are managed and cached by their respective
 * [EntityClass] instances using a data access object pattern.
 */
class DaoEntityIDFactory : EntityIDFactory {
    override fun > createEntityID(value: T, table: IdTable): EntityID {
        return DaoEntityID(value, table)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy