Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 562

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion ORM
Attribute
Applies to
lazy
all
linkcatalog
all
all
linkschema
linktable
all
all
mappedby
many-to-one,
missingrowIgnored
many-to-
many,
(in ColdFusion
9.0.1) one-to-
one
all
name
notnull
many-to-one
all
optimisticlock
one-to-many
orderby
many-to-many
one-to-many
readonly
many-to-many
remotingFetch
all
Re/Opt
Default
Description
Optional
true
Specifies if the association should be loaded lazily.
true
false
extra
See
Optional
Catalog for the link table.
Optional
Schema for the link table.
Required
Name of the link table.
Optional
In a relationship, the foreign key can reference a unique
column other than the primary key. In such cases, use
mappedby
unique key column.
Optional
false
Values are:
true
false
If the value is true, and the row that is referenced by the foreign
key is missing, it is treated as a null association.
The default is false, in which case an exception is thrown.
Required
Name of the field
optional
false
Use this to add the not-null constraint for the foreign key
column when the table is created by ORM.
Optional
true
Whether updates to this property need acquisition of the
optimistic lock on the table row. Values are:
true
false
See
Optional
Specifies the
associated collection. Use the following format to specify this
string:
"col1 <asc/desc> (, col2<asc/desc>)" or "col1(,
col2)"
In the latter case,
Optional
false
Values are:
true
false
If set to true, it indicates that the collection never changes and
can be cached.
Optional
false
The value of the remotingFetch attribute is false by default for
any property that shares one-to-one, one-to-many, many-to-
one, or many-to-many relationship. Set this value to true to
retrieve data on the client-side.
Last updated 1/20/2012
Lazy Loading
for details.
to specify the property name that maps to the
Optimistic locking
for details.
string that needs to be used to sort the
orderby
asc
is taken as default.
557

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents