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" );Related
Last updated
Was this helpful?