Adobe COLDFUSION 9 Manual page 561

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion ORM
Attribute
Applies to
fkcolumn
all
foreignkeyname
one-to-one
many-to-one,
many-to-
many
many-to-one
index
insert
many-to-one
inverse
one-to-many
many-to-many
inversejoincolumn
all
Re/Opt
Default
Description
Optional
Specifies the foreign key column.
In case the relation is established using link table, this specifies
the foreign key column in the link table that references the
primary key of the source object.
If the relationship is established using multiple foreign key
columns (that reference the composite key of the source
table), then you must use comma-separated column
names.Also, the order in which the column names are
specified must match the order of composite keys defined. If
you do not specify any values, then
If the table exists and the constraints are defined,
ColdFusion automatically selects the values from the table
If the table does not exist, ColdFusion auto-generates the
values
optional
autogenerate
Specifies the name of the foreign key constraint. This is used
d
only when the tables are created by ORM.
optional
false
Specifies the name of the index for the foreign key column.
Optional
true
Specifies whether the column should be included in SQL
UPDATE and/or INSERT statements. Values are:
true
false
Set
to be read-only.
Optional
false
Specifies whether SQL query should be executed for this
association when persisting this object. Value are:
true
false
See "Inverse" section for details.
Optional
Specifies the foreign key column in the Join table that
references the primary key column in the target table.
In case of a composite key, you can use a comma-separated list
of column names.
If the join table has multiple foreign key columns (that
reference the composite key of the target table), then you
must use comma-separated column names.Also, the order in
which the column names are specified must match the order
of composite keys defined.If you do not specify any values,
then
If the table exists and the constraints are defined, then
ColdFusion automatically selects the values from the table
If the table does not exist, then ColdFusion auto-generates
the values
Last updated 8/5/2010
and
update=false
insert=false
556
if the column needs

Advertisement

Table of Contents
loading

Table of Contents