Entity Mapping Builder
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
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
abstract fun inverseProp(prop: KProperty1<out Entity<*>, *>, mappedBy: KProperty1<out Entity<*>, *>): EntityPropImpl
Content copied to clipboard
Link copied to clipboard
abstract fun prop(prop: KProperty1<out Entity<*>, *>, storage: Storage? = null): EntityPropImpl
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun storage(prop: KProperty1<out Entity<*>, *>, storage: Storage)
Content copied to clipboard