
540
DEVELOPING
COLDFUSION 9 APPLICATIONS
ColdFusion ORM
Las
t
upda
te
d 8/5/2010
dialect
Specifies the dialect.
ColdFusion supports the following dialects:
•
DB2
•
DB2AS400
•
DB2OS390
•
Derby
•
PostgreSQL
•
MySQL
•
MySQLwithInnoDB
•
MySQLwithMyISAM
•
Oracle8i
•
Oracle9i
•
Oracle10g
•
Sybase
•
SybaseAnywhere
•
MicrosoftSQLServer
•
Informix
Apart from these dialects, you can specify custom dialects by using the fully
qualified class name.
Note:
For Microsoft Access, dialect cannot be detected
automatically. Use Microsoft SQL Server as the dialect for it.
eventHandling
false
Specifies whether ORM Event callbacks should be given. See
Event Handling in
CFC
for details.
flushatrequestend
true
Specifies whether
ormflush
should be called automatically at request end. If
flushatrequestend
is false,
ormflush
is not called automatically at request
end.
See
ORM session management
.
logSQL
false
Specifies whether the SQL queries that are executed by ORM will be logged. If
LogSQL=true
, the SQL queries are logged to the console.
ormconfig
The Hibernate configuration file.
This file contains various configuration parameters like, dialect, cache settings,
and mapping files that are required for the application. For more details, see
www.hibernate.org/hib_docs/reference/en/html/session-configuration.html
.
The settings defined in the
ormsettings
override the settings defined in the
Hibernate Configuration XML file.The connection information in the Hibernate
Configuration XML file is however ignored because ColdFusion uses its own
connection pool.
You will need to use this only when you need to use a hibernate setting that is
not available using
ormsetting
.
Property Name
Default
Description