[ Web Proxy ]
URL:
Viewing: https://docs.oracle.com/en/java/javase/24/docs/api/java.sql/java/sql/DatabaseMetaData.html [Back]  [Original]

DatabaseMetaData (Java SE 24 & JDK 24)
Contents 
Hide sidebar ❮❯ Show sidebar
  1. Description
  2. Field Summary
  3. Method Summary
  4. Field Details
    1. procedureResultUnknown
    2. procedureNoResult
    3. procedureReturnsResult
    4. procedureColumnUnknown
    5. procedureColumnIn
    6. procedureColumnInOut
    7. procedureColumnOut
    8. procedureColumnReturn
    9. procedureColumnResult
    10. procedureNoNulls
    11. procedureNullable
    12. procedureNullableUnknown
    13. columnNoNulls
    14. columnNullable
    15. columnNullableUnknown
    16. bestRowTemporary
    17. bestRowTransaction
    18. bestRowSession
    19. bestRowUnknown
    20. bestRowNotPseudo
    21. bestRowPseudo
    22. versionColumnUnknown
    23. versionColumnNotPseudo
    24. versionColumnPseudo
    25. importedKeyCascade
    26. importedKeyRestrict
    27. importedKeySetNull
    28. importedKeyNoAction
    29. importedKeySetDefault
    30. importedKeyInitiallyDeferred
    31. importedKeyInitiallyImmediate
    32. importedKeyNotDeferrable
    33. typeNoNulls
    34. typeNullable
    35. typeNullableUnknown
    36. typePredNone
    37. typePredChar
    38. typePredBasic
    39. typeSearchable
    40. tableIndexStatistic
    41. tableIndexClustered
    42. tableIndexHashed
    43. tableIndexOther
    44. attributeNoNulls
    45. attributeNullable
    46. attributeNullableUnknown
    47. sqlStateXOpen
    48. sqlStateSQL
    49. sqlStateSQL99
    50. functionColumnUnknown
    51. functionColumnIn
    52. functionColumnInOut
    53. functionColumnOut
    54. functionReturn
    55. functionColumnResult
    56. functionNoNulls
    57. functionNullable
    58. functionNullableUnknown
    59. functionResultUnknown
    60. functionNoTable
    61. functionReturnsTable
  5. Method Details
    1. allProceduresAreCallable()
    2. allTablesAreSelectable()
    3. getURL()
    4. getUserName()
    5. isReadOnly()
    6. nullsAreSortedHigh()
    7. nullsAreSortedLow()
    8. nullsAreSortedAtStart()
    9. nullsAreSortedAtEnd()
    10. getDatabaseProductName()
    11. getDatabaseProductVersion()
    12. getDriverName()
    13. getDriverVersion()
    14. getDriverMajorVersion()
    15. getDriverMinorVersion()
    16. usesLocalFiles()
    17. usesLocalFilePerTable()
    18. supportsMixedCaseIdentifiers()
    19. storesUpperCaseIdentifiers()
    20. storesLowerCaseIdentifiers()
    21. storesMixedCaseIdentifiers()
    22. supportsMixedCaseQuotedIdentifiers()
    23. storesUpperCaseQuotedIdentifiers()
    24. storesLowerCaseQuotedIdentifiers()
    25. storesMixedCaseQuotedIdentifiers()
    26. getIdentifierQuoteString()
    27. getSQLKeywords()
    28. getNumericFunctions()
    29. getStringFunctions()
    30. getSystemFunctions()
    31. getTimeDateFunctions()
    32. getSearchStringEscape()
    33. getExtraNameCharacters()
    34. supportsAlterTableWithAddColumn()
    35. supportsAlterTableWithDropColumn()
    36. supportsColumnAliasing()
    37. nullPlusNonNullIsNull()
    38. supportsConvert()
    39. supportsConvert(int, int)
    40. supportsTableCorrelationNames()
    41. supportsDifferentTableCorrelationNames()
    42. supportsExpressionsInOrderBy()
    43. supportsOrderByUnrelated()
    44. supportsGroupBy()
    45. supportsGroupByUnrelated()
    46. supportsGroupByBeyondSelect()
    47. supportsLikeEscapeClause()
    48. supportsMultipleResultSets()
    49. supportsMultipleTransactions()
    50. supportsNonNullableColumns()
    51. supportsMinimumSQLGrammar()
    52. supportsCoreSQLGrammar()
    53. supportsExtendedSQLGrammar()
    54. supportsANSI92EntryLevelSQL()
    55. supportsANSI92IntermediateSQL()
    56. supportsANSI92FullSQL()
    57. supportsIntegrityEnhancementFacility()
    58. supportsOuterJoins()
    59. supportsFullOuterJoins()
    60. supportsLimitedOuterJoins()
    61. getSchemaTerm()
    62. getProcedureTerm()
    63. getCatalogTerm()
    64. isCatalogAtStart()
    65. getCatalogSeparator()
    66. supportsSchemasInDataManipulation()
    67. supportsSchemasInProcedureCalls()
    68. supportsSchemasInTableDefinitions()
    69. supportsSchemasInIndexDefinitions()
    70. supportsSchemasInPrivilegeDefinitions()
    71. supportsCatalogsInDataManipulation()
    72. supportsCatalogsInProcedureCalls()
    73. supportsCatalogsInTableDefinitions()
    74. supportsCatalogsInIndexDefinitions()
    75. supportsCatalogsInPrivilegeDefinitions()
    76. supportsPositionedDelete()
    77. supportsPositionedUpdate()
    78. supportsSelectForUpdate()
    79. supportsStoredProcedures()
    80. supportsSubqueriesInComparisons()
    81. supportsSubqueriesInExists()
    82. supportsSubqueriesInIns()
    83. supportsSubqueriesInQuantifieds()
    84. supportsCorrelatedSubqueries()
    85. supportsUnion()
    86. supportsUnionAll()
    87. supportsOpenCursorsAcrossCommit()
    88. supportsOpenCursorsAcrossRollback()
    89. supportsOpenStatementsAcrossCommit()
    90. supportsOpenStatementsAcrossRollback()
    91. getMaxBinaryLiteralLength()
    92. getMaxCharLiteralLength()
    93. getMaxColumnNameLength()
    94. getMaxColumnsInGroupBy()
    95. getMaxColumnsInIndex()
    96. getMaxColumnsInOrderBy()
    97. getMaxColumnsInSelect()
    98. getMaxColumnsInTable()
    99. getMaxConnections()
    100. getMaxCursorNameLength()
    101. getMaxIndexLength()
    102. getMaxSchemaNameLength()
    103. getMaxProcedureNameLength()
    104. getMaxCatalogNameLength()
    105. getMaxRowSize()
    106. doesMaxRowSizeIncludeBlobs()
    107. getMaxStatementLength()
    108. getMaxStatements()
    109. getMaxTableNameLength()
    110. getMaxTablesInSelect()
    111. getMaxUserNameLength()
    112. getDefaultTransactionIsolation()
    113. supportsTransactions()
    114. supportsTransactionIsolationLevel(int)
    115. supportsDataDefinitionAndDataManipulationTransactions()
    116. supportsDataManipulationTransactionsOnly()
    117. dataDefinitionCausesTransactionCommit()
    118. dataDefinitionIgnoredInTransactions()
    119. getProcedures(String, String, String)
    120. getProcedureColumns(String, String, String, String)
    121. getTables(String, String, String, String[])
    122. getSchemas()
    123. getCatalogs()
    124. getTableTypes()
    125. getColumns(String, String, String, String)
    126. getColumnPrivileges(String, String, String, String)
    127. getTablePrivileges(String, String, String)
    128. getBestRowIdentifier(String, String, String, int, boolean)
    129. getVersionColumns(String, String, String)
    130. getPrimaryKeys(String, String, String)
    131. getImportedKeys(String, String, String)
    132. getExportedKeys(String, String, String)
    133. getCrossReference(String, String, String, String, String, String)
    134. getTypeInfo()
    135. getIndexInfo(String, String, String, boolean, boolean)
    136. supportsResultSetType(int)
    137. supportsResultSetConcurrency(int, int)
    138. ownUpdatesAreVisible(int)
    139. ownDeletesAreVisible(int)
    140. ownInsertsAreVisible(int)
    141. othersUpdatesAreVisible(int)
    142. othersDeletesAreVisible(int)
    143. othersInsertsAreVisible(int)
    144. updatesAreDetected(int)
    145. deletesAreDetected(int)
    146. insertsAreDetected(int)
    147. supportsBatchUpdates()
    148. getUDTs(String, String, String, int[])
    149. getConnection()
    150. supportsSavepoints()
    151. supportsNamedParameters()
    152. supportsMultipleOpenResults()
    153. supportsGetGeneratedKeys()
    154. getSuperTypes(String, String, String)
    155. getSuperTables(String, String, String)
    156. getAttributes(String, String, String, String)
    157. supportsResultSetHoldability(int)
    158. getResultSetHoldability()
    159. getDatabaseMajorVersion()
    160. getDatabaseMinorVersion()
    161. getJDBCMajorVersion()
    162. getJDBCMinorVersion()
    163. getSQLStateType()
    164. locatorsUpdateCopy()
    165. supportsStatementPooling()
    166. getRowIdLifetime()
    167. getSchemas(String, String)
    168. supportsStoredFunctionsUsingCallSyntax()
    169. autoCommitFailureClosesAllResultSets()
    170. getClientInfoProperties()
    171. getFunctions(String, String, String)
    172. getFunctionColumns(String, String, String, String)
    173. getPseudoColumns(String, String, String, String)
    174. generatedKeyAlwaysReturned()
    175. getMaxLogicalLobSize()
    176. supportsRefCursors()
    177. supportsSharding()

Interface DatabaseMetaData

All Superinterfaces:
Wrapper

public interface DatabaseMetaData extends Wrapper
Comprehensive information about the database as a whole.

This interface is implemented by driver vendors to let users know the capabilities of a Database Management System (DBMS) in combination with the driver based on JDBC technology ("JDBC driver") that is used with it. Different relational DBMSs often support different features, implement features in different ways, and use different data types. In addition, a driver may implement a feature on top of what the DBMS offers. Information returned by methods in this interface applies to the capabilities of a particular driver and a particular DBMS working together. Note that as used in this documentation, the term "database" is used generically to refer to both the driver and DBMS.

A user for this interface is commonly a tool that needs to discover how to deal with the underlying DBMS. This is especially true for applications that are intended to be used with more than one DBMS. For example, a tool might use the method getTypeInfo to find out what data types can be used in a CREATE TABLE statement. Or a user might call the method supportsCorrelatedSubqueries to see if it is possible to use a correlated subquery or supportsBatchUpdates to see if it is possible to use batch updates.

Some DatabaseMetaData methods return lists of information in the form of ResultSet objects. Regular ResultSet methods, such as getString and getInt, can be used to retrieve the data from these ResultSet objects. If a given form of metadata is not available, an empty ResultSet will be returned. Additional columns beyond the columns defined to be returned by the ResultSet object for a given method can be defined by the JDBC driver vendor and must be accessed by their column label.

Some DatabaseMetaData methods take arguments that are String patterns. These arguments all have names such as fooPattern. Within a pattern String, "%" means match any substring of 0 or more characters, and "_" means match any one character. Only metadata entries matching the search pattern are returned. If a search pattern argument is set to null, that argument's criterion will be dropped from the search.

Since:
1.1


Web Proxy Viewer  |  New URL  |  Original Page