Whatever message this page gives is out now! Go check it out!

ORMGetSession

Last update:
May 18, 2026

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.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page