Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 560

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion ORM
You can also use the link table to establish a relationship. A link table contains the foreign key to both tables that
participate in the relationship. ORM looks for the map key column using the link table and not the target table.
Relationship attributes
This table specifies the attribute details for all the relationship types.
The "Applies to" column indicates the relationship type that the attribute is applicable to; "all" indicates that the
attribute is applicable to all relationship types.
Attribute
Applies to
batchsize
one-to-many
many-to-many
one-to-many
cacheuse
many-to-
many
one-to-many
cachename
many-to-many
cascade
all
all
cfc
constrained
one-to-one
fetch
all
fieldtype
all
Re/Opt
Default
Description
Optional
An integer value that specifies the "
uninitialized collections. For details, see
optional
Use this value to specify the caching strategy to be used for
caching this component's data in the secondary cache.
See
optional
<entityname
Use this value to specify the name of the secondary cache.
>
See
<relationnam
e>
optional
See the Cascade options section for details.
Required
Name of the associated CFC.
Optional
false
Whether a constraint is set on this table's Primary Key column
to reference the Primary Key in the other table:
true
false
See
Optional
select
Specifies whether join query or sequential select query will be
used to retrieve the associated objects. The values are:
join
select
See
Required
column
Specifies the type of relationship mapping:
one-to-one
one-to-many
many-to-one
many-to-many
Last updated 1/20/2012
batchsize
Caching
for details.
Caching
for details.
One-to-one relationships
for details.
Lazy Loading
for details.
555
" for fetching
Batch
fetching.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents