User Guide Cancel

ORMGetSession

 

Description

Returns the current ORM session. That is, the Hibernate Session associated with the data source specified in the application. This returns the underlying Hibernate Session that can be used to call the API, which otherwise is not exposed by ColdFusion.

Syntax

ORMGetSession(datasource)
ORMGetSession(datasource)
ORMGetSession(datasource)

History

ColdFusion 9: Added this function.

Category

Parameters

Parameter

Description

datasource

(Optional) Name of the datasource to use.

Get help faster and easier

New user?