AttributeOverride
annotation in package klyn.data.mapping

    public annotation AttributeOverride(name as String)

AttributeOverride

Selects an embedded scalar attribute whose physical binding is overridden.

The dot-separated `name` is provider-neutral. The replacement binding is supplied by a provider-owned annotation on the same embedding site or by a statically typed external mapping descriptor.

Example

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

    @Embedded
    @AttributeOverride(name="street")
    @Column(name="shipping_street")
    public property shippingAddress as Address