ORMCloseSession

Note: This function has been enhanced in ColdFusion 9.0.1 to support multiple data sources in the same application. Install the ColdFusion 9 update to use the feature.

Description

Closes the Hibernate session associated with the data source in the request. If you do not specify a data source, the Hibernate session associated with the default data source is closed.

Category

ORM functions

Function Syntax

ormclosesession([datasource])

See Also

ORMGetSession, ORMClearSession, ORMFlush, ORMGetSessionFactory, ORMCloseSession() in Developing ColdFusion Applications.