@Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) public @interface AlsoLoad
Annotation which helps migrate schemas by loading one of several possible properties in the entity into fields or methods. This is typically used when a field is renamed, allowing the field to be populated by both its current name and any prior names.
@AlsoLoad
on a method parameter *can* be used to override field names and "steal" the
value that would otherwise have been set on a field. This can be useful when changing the
type of a field.public abstract String[] value
Copyright © 2016. All rights reserved.