org.jetbrains.exposed.dao.DaoEntityIDFactory.kt Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy