JoinMany

annotation class JoinMany(val elemConverter: KClass<out ValueConverter> = ValueConverter::class, val childEntityType: KClass<*> = Any::class)

Indicate that a property is a collection of one-to-many child objects in a "LEFT JOIN" query Child object must have at least one property annotated as an identifying column.

See also

Properties

Link copied to clipboard

specify the entity to be used to parse ResultSet's row

Link copied to clipboard

use ValueConverter.fromDb to convert an object before adding it into the collection