Multiple choice

Which of the following methods is not defined in DatabaseMetaData interface?

  1. allProceduresAreCallable()

  2. allTablesAreSelectable()

  3. autoCommitFailureClosesAllResultSets()

  4. dataDefinitionCausesTransactionCommit()

  5. allTablesSelected()

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

This is the correct option because there is no method named allTablesSelected() in DatabaseMetaData. The correct method is allTablesAreSelectable() and it retrieves whether the current user can call all the procedures returned by the method getProcedures or not.