|
Resin Ejb tags
Resin CMP Entity Bean.
Requires @ejb:bean.
Parameter |
Type |
Applicability |
Description |
Mandatory |
sql-table |
text |
|
Database table for this Entity |
false |
data-source |
text |
|
Entity data source |
false |
cache-size |
int |
|
Bean cache size |
false |
cache-timeout |
text |
|
Bean cache timeout; default unit is seconds (s) if none specified. |
false |
Resin Ejb tags
Specifies database column properties of a persistent field.
Requires @ejb:persistent-field.
Parameter |
Type |
Applicability |
Description |
Mandatory |
sql-column |
text |
|
Database column name |
false |
sql-type |
text |
|
SQL column type used during table generation
|
false |
abstract-sql-type |
text |
|
java.sql.Types column type which is matched with driver type map to determine physical column type during table generation
|
false |
Business method configuration;
see http://caucho.com/products/resin-ejb/ejb-ref/resin-ejb-config.xtp#method
Parameter |
Type |
Applicability |
Description |
Mandatory |
signature |
text |
|
Java method signature or * (for general case); mandatory at class-level
|
false |
resin-isolation |
text |
|
Caching hint for Resin; valid values are 'read-only' (read-only) and 'database' (read-write)
|
false |
query-loads-bean |
text |
|
find or select query will load the bean rather than just the primary key;
valid values are 'true', 'false'
|
false |
Database configuration for persistent relations.
Requires @ejb:relation
Parameter |
Type |
Applicability |
Description |
Mandatory |
sql-table |
text |
|
Database table for n-m relationships (only)
|
false |
sql-column |
text |
|
Database column
|
false |
order-by |
text |
|
Persistent field name for ordering collections in 1-n relationships (only)
|
false |
|