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)

History

ColdFusion 9: Added this function.

Category

Parameters

Parameter Description
datasource (Optional) Name of the datasource to use.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy