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

ORMGetSessionFactory

Last update:
May 18, 2026
ORMGetSessionFactory returns the underlying Hibernate SessionFactory object.

Description

Returns the Hibernate Session Factory object associated with the data source. Results in an error if ORM is not configured for this data source. If you do not specify the data source, the Hibernate session factory object associated with the default data source is returned.
For information on Session API, go to the following URL:

Category

Syntax

ORMGetsSessionFactory(datasource)

Parameters

Parameter
Description
datasource
(Optional) The datasource  to be used.

See Also

ORMCloseSessionORMClearSessionORMFlushORMGetSession in Developing ColdFusion Applications.

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