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', 'odatabasedocument', 'isactiveoncurrentthread']

ODatabaseDocument - isActiveOnCurrentThread()

Determines whether the current database is active on the current thread.

Database Thread

Using this method you can determine whether the current database is active on the current thread in your application.

Syntax

boolean ODatabaseDocument().isActiveOnCurrentThread()

Return Value

This method returns a boolean value indicating whether the current database is active on the current thread.