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’, ‘get record type’, ‘getRecordType’]

ODatabaseDocument - getRecordType()

This method returns the default record type for the database.

Retrieving Record Types

The ODatabaseDocument class serves as a generic interface for operating on both Document and Grap databases. Records are stored using different classes depending on which database-type you chose to use. This method tells you which class is being used as the default on your database.

Syntax

public byte ODatabaseDocument().getRecordType()