Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 544

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
ColdFusion ORM
Property Name
autogenmap
automanageSession
Added in ColdFusion 9.0.1
cacheconfig
cacheprovider
catalog
cfclocation
datasource
dbcreate
Default
Description
true
Specifies whether ColdFusion should automatically generate mapping for the
persistent CFCs. If
form of .HBMXML files.
true
Lets you specify if ColdFusion must manage Hibernate session automatically.
If enabled: ColdFusion manages the session completely. That is, it decides
when to flush the session, when to clear the session, and when to close the
session.
If disabled: The application is responsible for managing flushing, clearing, or
closing of the session. The only exception is (in the case of transaction),
when the transaction commits, the application flushes the session.
ColdFusion closes the ORM session at the end of request irrespective of this flag
being enabled or disabled.
Specifies the location of the configuration file that should be used by the
secondary cache provider.This setting is used only when
secondarycacheenabled=true
See
"Secondary level
ehcache
Specifies the cache provider that should be used by ORM as secondary cache.
The values can be:
Ehcache
JBossCache
Hashtable
SwarmCache
OSCache
Fully qualified name of the class for any other cache provider.
This setting is used only when
See
"Secondary level
Specifies the default Catalog that should be used by ORM.
Specifies the directory (or array of directories) that should be used by
ColdFusion to search for persistent CFCs to generate the mapping. If
cfclocation
set, ColdFusion looks at the application directory, its sub-directories, and its
mapped directories to search for persistent CFCs.
Specifies the data source that should be used by ORM. If it is not specified here,
then the data source specified for the application is picked up. Use the
following convention to specify a datasource name:
this.datasource="<datasource_name>"
none
ColdFusion ORM can automatically create the tables for your application in the
database when ORM is initialized for the application. This can be enabled by
using
update
table if it exists.
dropcreate
none
schema.
Last updated 1/20/2012
, mapping should be provided in the
autogenmap=false
.
cache" on page 590 for details.
secondarycacheenabled=true
cache" on page 590 for details.
is set, ColdFusion looks at only the paths specified in it. If it is not
dbcreate
in
ormsettings
.
dbCreate
: Setting this value creates the table if it does not exist or update the
: Setting this value drops the table if it exists and then creates it.
(default): Setting this value does not change anything in the database
.
;
takes the following values:
539

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents