Table represents the primary database table to which you are relating an external type, Record type, or Handler type.
eglx.persistence.sql
Record Customer {@Table{name = "CUSTOMER_TABLE"}}
identifier STRING {@ID};
corporateName STRING;
end
record Table type Annotation {
targets=[RecordPart, HandlerPart, ExternalTypePart]
}
name string;
shortName string;
catalog string;
schema string;
end
All of those fields are optional.
| Target | Issue |
|---|---|
| Java | No issues. |
| JavaScript | Database access is not supported. |