Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

ORMCloseSession

Close the Hibernate session for the current context and provided (or default) datasource

Method Signature

ORMCloseSession(datasource=[String])

Arguments

Argument
Type
Required
Description
Default

datasource

String

false

The datasource on which to close the current session. If not provided, the default datasource will be used.

Examples

Close the ORM session for the default datasource:

ormCloseSession();

Close the ORM session for a secondary, named datasource:

ormCloseSession( "admin" );

Last updated

Was this helpful?