com.ibm.pdq.annotation
Annotation Type ColumnOverrides
@Target(value=TYPE)
@ColumnOverride annotations. This annotation allows more than one
@ColumnOverride annotation to be specified for a pureQuery bean class. When
@ColumnOverrides is provided for a class, all @ColumnOverride annotations must
be provided in the @ColumnOverrides array; none can be specified outside of the array.
The following example illustrates how property-to-column mappings can be specified by using
@ColumnOverrides:
@ColumnOverrides( {
@ColumnOverride(propertyName = "departmentName", column = "DEPTNAME"),
@ColumnOverride(propertyName = "departmentNumber", column = "DEPTNO") })
public class Department {
. . .
}
Required Element Summary
| Modifier and Type | Required Element and Description |
|---|---|
value
An array of
@ColumnOverride annotations to apply to the pureQuery
bean class.
|
Required Element Detail
value
public abstract ColumnOverride[] value
@ColumnOverrideannotations to apply to the pureQuery bean class.