|
Note: This function has been enhanced in ColdFusion 9.0.1
to support multiple data sources in the same application. Install
the ColdFusion 9 update to use the feature.
DescriptionReturns the Hibernate session
associated with the data source in the request. If ORM is not configured
for this data source, it results in an exception. If data source is
not specified, the Hibernate session of the default data source
is returned.
Use this session object to call the APIs, which,
otherwise, ColdFusion does not expose.
For information on
session APIs, see:
http://docs.jboss.org/hibernate/core/3.3/api/org/hibernate/Session.html
Function Syntaxormgetsession([datasource])
|
|
|