Get the current ORM session object
ormGetSession([datasource])
returns any
Name | Type | Required | Default | Description |
---|---|---|---|---|
datasource | string | No | Name of the data source used for the session. If not defined, the default datasource defined in Application.cfc/cfapplication is used. |
Returns the object representing the current Hibernate session so you can perform functions on it.
ormGetSession();