Tag Usage, Class Level (@bes)

Borland Enterprise Server Ejb tags

@bes.datasource (0..1)

Database datasource setting for CMP/BMP Entity Bean Requires @ejb:bean.

Parameter Type Applicability Description Mandatory
res-ref-name text Reference to entity datasource. Default is jdbc/${jndi-name} false
jndi-name text JNDI name of entity data source. Default is DefaultDataSource false
cmp-resource bool !!Describe me!! false

Tag Usage, Method Level (@bes)

Borland Enterprise Server Ejb tags

@bes.relation (0..1)

Database configuration for persistent relations. Requires @ejb:relation

Parameter Type Applicability Description Mandatory
left-table-name text Database table name for left side of the relation false
left-column-name text Name of the column used for left side of the relation false
right-table-name text Database table name for right side of the relation false
right-column-name text Name of the column used for right side of the relation false

@bes.cross-table (0..1)

Database configuration for persistent relations. Only for M:N relations Requires @ejb:relation and @bes.relation

Parameter Type Applicability Description Mandatory
table-name text Database join table name false
left-columnA text Name of the column from "Bean" table used for left side of the relation false
left-columnB text Name of the column from join table used for left side of the relation false
right-columnA text Name of the column from "Bean" table used for right side of the relation false
right-columnB text Name of the column in join table used for right side of the relation false