Adobe COLDFUSION 9 Manual page 555

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion ORM
Attributes
Attribute
Req/Opt
column
optional
dbdefault
fieldType
optional
formula
optional
optional
generated
insert
optional
name
Required
optional
optimisticlock
optional
ormtype
update
optional
DDL-only attributes
The following attributes are used only when DDL generation is required and not used for runtime.
Default
Description
Name of the property
Name of the column.
This sets the default value of a column in the table when schema is
exported.
column
Should be "column" for column property.
SQL expression that defines the value of the property. If you specify
a formula, the column value is ignored.
See
Computed
never
Specifies that this property value is actually generated by the
database {never|always|insert}
never
generated by database
always
generated by database
insert
the time of insert but is not regenerated at updates.
true
Specifies whether the column should be included in SQL UPDATE
and/or INSERT statements:
{true/false}
Set
update=false
read-only.
Name of the property. If this attribute is not specified, the name of
the property is used as the column name.
true
Whether updates to this property require acquisition of the
optimistic lock on the table row:
{true/false}
string
Specifies the data type.
If specified, then
If ORM setting
exists, then
(Otherewise) Type, if specified, is used as
true
Specifies whether the column should be included in SQL update
statement:
{true/false}
Set
update=false
read-only.
Last updated 8/5/2010
property.
: Specifies that the value for this property is never
: Specifies that the value for this property is always
: Specifies that the value for this property is generated at
and
if the column needs to be
insert=false
is set to
useDBForMapping
ormtype
is obtained by inspecting the table
and
insert=false
if the column needs to be
550
and the table
true
ormtype

Advertisement

Table of Contents
loading

Table of Contents