AssociationOverride
annotation in package klyn.data.mapping

    public annotation AssociationOverride(name as String)

AssociationOverride

Selects an embedded relationship whose provider binding is overridden.

The relationship path remains provider-neutral. A provider-owned annotation or typed external descriptor supplies the replacement physical binding.

Example

    import klyn.data.mapping
    import klyn.data.sql

    @Embedded
    @AssociationOverride(name="country")
    @JoinColumn(name="shipping_country_id")
    public property shippingAddress as Address