EntityMappingBuilder

interface EntityMappingBuilder

This is SPI, not API!

Its design goal is to ensure the least number of interfaces, not to provide a sufficiently secure interface.

Higher-level frameworks will encapsulate this to provide more complex but also safer APIs

Functions

Link copied to clipboard
abstract fun <E : Entity<ID>, ID : Comparable<ID>> entity(type: KClass<E>, tableName: String? = null, idGenerator: IdGenerator? = null, versionProp: KProperty1<E, Int>? = null): EntityTypeImpl
abstract fun <E : Entity<ID>, ID : Comparable<ID>> entity(type: KClass<E>, tableName: String? = null, idGenerator: UserIdGenerator<ID>? = null, versionProp: KProperty1<E, Int>? = null): EntityTypeImpl
Link copied to clipboard
abstract fun inverseProp(prop: KProperty1<out Entity<*>, *>, mappedBy: KProperty1<out Entity<*>, *>): EntityPropImpl
Link copied to clipboard
abstract fun prop(prop: KProperty1<out Entity<*>, *>, storage: Storage? = null): EntityPropImpl
Link copied to clipboard
abstract fun scalarProvider(scalarProvider: ScalarProvider<*, *>)
Link copied to clipboard
abstract fun storage(prop: KProperty1<out Entity<*>, *>, storage: Storage)