com.ibm.pdq.annotation
Annotation Type Table
@Inherited
Overrides the default table name in the @Column annotation. When using @Table on a
class were one or more Properties do not want (or can not have) as table name use a @Column
annotation with table = "", this will set that Property to ignore the table name.
@Table also adds a table name to those Properties that do not have a @Column
annotation. Contains the @Inherited annotation so if @Table is coded on a class
(not an interface) it will be inherited by sub-classes.
Required Element Summary
| Modifier and Type | Required Element and Description |
|---|---|
name
Specifies the default table name for the class, Required.
|
Optional Element Summary
| Modifier and Type | Optional Element and Description |
|---|---|
schema
Specifies the default table name's schema name for the class.
|
Required Element Detail
name
public abstract String name
Optional Element Detail
schema
public abstract String schema
Specifies the default table name's schema name for the class. Currently not used by the pureQuery Runtime.
Default:
""
The table name of a column in the ResultSet is the value returned by
ResultSetMetaData.getTableName(int). It is the table name of the column. Some columns in the ResultSetMetaData do not have a table name. In this case don't use@Tableor use@@Columnannotation withtable = ""on those Properties that do not have a table name.