Adobe COLDFUSION 9 Manual page 573

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion ORM
Attribute
Req/Opt
Optional
batchsize
elementcolumn
Required
Required
elementtype
fieldtype
Required
Optional
fkcolumn
Optional
lazy
name
Required
optimisticlock
Optional
Optional
orderby
readonly
Optional
structkeycolumn
Required
Required
structkeyType
Required
table
type
Optional
Inheritance mapping
If the object you need to persist has a hierarchy, the CFCs of that object hierarchy need to be mapped to the relational
tables such that the entire hierarchy is persisted.
There are multiple strategies followed for inheritance mapping:
• Table per hierarchy
Default
Description
An integer value that specifies the "
lazily fetching instances of this collection.
Specifies the column name that contains the data to
be fetched for collection.
Data type of the value. See
Should be a collection.
The foreign key column in the table.
If foreign key column is not specified and
useDBForMapping
ColdFusion automatically determines the Foreign Key
column after inspecting the database.
true
Specifies if loading is to be done lazily:
true
false
See
Name of the collection property.
true
true
false
Specifies the Order By string.
false
Value are:
true
false
If you set it to true, the collection never changes and
can be cached.
Column name in the table that will be used as key of
struct.
Specifies the data type of the key, when
type=struct
For the entire list of data types, see the Data Type
section.
Name of the table from where the collection will be
fetched.
array
Specifies if the collection type is:
array
struct
Last updated 8/5/2010
batchsize
ORM data types
is set to
in
true
ORMSetting
Lazy Loading
for details.
.
568
" for
for details.
,

Advertisement

Table of Contents
loading

Table of Contents