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.

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