Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['java', 'close', 'odatabasedocument']

ODatabaseDocument - close()

This method closes the database.

Closing Databases

Using this method, you can close an openned database, freeing up resources for other uses. In the event that the database is already closed, this method does nothing. When you close a database, any open transactions are closed, their changed rolled back.

Syntax

void ODatabaseDocument().close()