Java Doc for JdbcDatabaseMetaData.java in  » Database-DBMS » h2database » org » h2 » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » h2database » org.h2.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.h2.message.TraceObject
      org.h2.jdbc.JdbcDatabaseMetaData

JdbcDatabaseMetaData
public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaData(Code)
Represents the meta data for a database.



Constructor Summary
 JdbcDatabaseMetaData(JdbcConnection conn, Trace trace, int id)
    

Method Summary
public  booleanallProceduresAreCallable()
     Checks if all procedures callable.
public  booleanallTablesAreSelectable()
     Checks if it possible to query all tables returned by getTables.
public  booleanautoCommitFailureClosesAllResultSets()
     Returns whether an exception while auto commit is on closes all result sets.
public  booleandataDefinitionCausesTransactionCommit()
     Returns whether CREATE/DROP commit an open transaction.
public  booleandataDefinitionIgnoredInTransactions()
     Returns whether CREATE/DROP do not affect transactions.
public  booleandeletesAreDetected(int type)
     Returns whether deletes are detected.
public  booleandoesMaxRowSizeIncludeBlobs()
     Returns whether the maximum row size includes blobs.
public  ResultSetgetAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)
    
public  ResultSetgetBestRowIdentifier(String catalog, String schema, String tableName, int scope, boolean nullable)
     Gets the list of columns that best identifier a row in a table.
public  StringgetCatalogSeparator()
     Returns the catalog separator.
public  StringgetCatalogTerm()
     Returns the term for "catalog".
public  ResultSetgetCatalogs()
     Gets the list of catalogs.
public  ResultSetgetClientInfoProperties()
     [Not supported] Returns the client info properties.
public  ResultSetgetColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)
     Gets the list of column privileges.
public  ResultSetgetColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
     Gets the list of columns.
public  ConnectiongetConnection()
     Returns the connection that created this object.
public  ResultSetgetCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)
     Gets the list of foreign key columns that references a table, as well as the list of primary key columns that are references by a table.
public  intgetDatabaseMajorVersion()
     Gets the major version of the database.
public  intgetDatabaseMinorVersion()
     Gets the minor version of the database.
public  StringgetDatabaseProductName()
     Gets the database product name.
public  StringgetDatabaseProductVersion()
     Gets the product version of the database.
public  intgetDefaultTransactionIsolation()
     Returns the default transaction isolation level.
public  intgetDriverMajorVersion()
     Returns the major version of this driver.
public  intgetDriverMinorVersion()
     Returns the minor version of this driver.
public  StringgetDriverName()
     Gets the name of the JDBC driver.
public  StringgetDriverVersion()
     Gets the version number of the driver in the format [MajorVersion].[MinorVersion].
public  ResultSetgetExportedKeys(String catalog, String schema, String tableName)
     Gets the list of foreign key columns that reference a table.
public  StringgetExtraNameCharacters()
     Returns the characters that are allowed for identifiers in addiction to A-Z, a-z, 0-9 and '_'.
public  ResultSetgetFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern)
     [Not supported] Gets the list of function columns.
public  ResultSetgetFunctions(String arg0, String arg1, String arg2)
     [Not supported] Gets the list of functions.
public  StringgetIdentifierQuoteString()
     Returns the string used to quote identifiers.
public  ResultSetgetImportedKeys(String catalog, String schema, String tableName)
     Gets the list of primary key columns that are referenced by a table.
public  ResultSetgetIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate)
     Gets the list of indexes for this database.
public  intgetJDBCMajorVersion()
     Gets the major version of the supported JDBC API.
public  intgetJDBCMinorVersion()
     Gets the minor version of the supported JDBC API.
public  intgetMaxBinaryLiteralLength()
     Returns the maximum length for hex values (characters).
public  intgetMaxCatalogNameLength()
     Returns the maximum length for a catalog name.
public  intgetMaxCharLiteralLength()
     Returns the maximum length for literals.
public  intgetMaxColumnNameLength()
     Returns the maximum length for column names.
public  intgetMaxColumnsInGroupBy()
     Returns the maximum number of columns in GROUP BY.
public  intgetMaxColumnsInIndex()
     Returns the maximum number of columns in CREATE INDEX.
public  intgetMaxColumnsInOrderBy()
     Returns the maximum number of columns in ORDER BY.
public  intgetMaxColumnsInSelect()
     Returns the maximum number of columns in SELECT.
public  intgetMaxColumnsInTable()
     Returns the maximum number of columns in CREATE TABLE.
public  intgetMaxConnections()
     Returns the maximum number of open connection.
public  intgetMaxCursorNameLength()
     Returns the maximum length for a cursor name.
public  intgetMaxIndexLength()
     Returns the maximum length for an index (in bytes).
public  intgetMaxProcedureNameLength()
     Returns the maximum length for a procedure name.
public  intgetMaxRowSize()
     Returns the maximum size of a row (in bytes).
public  intgetMaxSchemaNameLength()
     Returns the maximum length for a schema name.
public  intgetMaxStatementLength()
     Returns the maximum length of a statement.
public  intgetMaxStatements()
     Returns the maximum number of open statements.
public  intgetMaxTableNameLength()
     Returns the maximum length for a table name.
public  intgetMaxTablesInSelect()
     Returns the maximum number of tables in a SELECT.
public  intgetMaxUserNameLength()
     Returns the maximum length for a user name.
public  StringgetNumericFunctions()
     Returns the list of numeric functions supported by this database.
public  ResultSetgetPrimaryKeys(String catalog, String schema, String tableName)
     Gets the primary key columns for a table.
public  ResultSetgetProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
     Gets the list of procedure columns.
public  StringgetProcedureTerm()
     Returns the term for "procedure".
public  ResultSetgetProcedures(String catalog, String schemaPattern, String procedureNamePattern)
     Gets the list of procedures.
public  intgetResultSetHoldability()
     Gets the result set holdability.
public  StringgetSQLKeywords()
     Gets the comma-separated list of all SQL keywords that are not supported as table/column/index name, in addition to the SQL-92 keywords.
public  intgetSQLStateType()
     Gets the SQL State type.
public  StringgetSchemaTerm()
     Returns the term for "schema".
public  ResultSetgetSchemas()
     Gets the list of schemas.
public  ResultSetgetSchemas(String catalog, String schemaPattern)
     [Not supported] Gets the list of schemas.
public  StringgetSearchStringEscape()
     Returns the default escape character for LIKE.
public  StringgetStringFunctions()
     Returns the list of string functions supported by this database.
public  ResultSetgetSuperTables(String catalog, String schemaPattern, String tableNamePattern)
     Get the list of super tables of a table.
public  ResultSetgetSuperTypes(String catalog, String schemaPattern, String typeNamePattern)
    
public  StringgetSystemFunctions()
     Returns the list of system functions supported by this database.
public  ResultSetgetTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)
     Gets the list of table privileges.
public  ResultSetgetTableTypes()
     Gets the list of table types.
public  ResultSetgetTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
     Gets the list of tables in the database.
public  StringgetTimeDateFunctions()
     Returns the list of date and time functions supported by this database.
public  ResultSetgetTypeInfo()
     Gets the list of data types.
public  ResultSetgetUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)
     Gets the list of user defined data types.
public  StringgetURL()
     Returns the database URL for this connection.
public  StringgetUserName()
     Returns the user name as passed to DriverManager.getConnection(url, user, password).
public  ResultSetgetVersionColumns(String catalog, String schema, String tableName)
     Get the list of columns that are update when any value is updated.
public  booleaninsertsAreDetected(int type)
     Returns whether inserts are detected.
public  booleanisCatalogAtStart()
     Returns whether the catalog is at the beginning.
public  booleanisReadOnly()
     Returns the same as Connection.isReadOnly().
public  booleanlocatorsUpdateCopy()
     Does the database make a copy before updating.
public  booleannullPlusNonNullIsNull()
     Returns whether NULL+1 is NULL or not.
public  booleannullsAreSortedAtEnd()
     Checks is NULL values are sorted at the end (no matter if ASC or DESC is used).
public  booleannullsAreSortedAtStart()
     Checks is NULL values are sorted at the beginning (no matter if ASC or DESC is used).
public  booleannullsAreSortedHigh()
     Checks is NULL values are sorted high (bigger than any non-null values).
public  booleannullsAreSortedLow()
     Checks is NULL values are sorted low (smaller than any non-null values).
public  booleanothersDeletesAreVisible(int type)
     Returns whether other deletes are visible.
public  booleanothersInsertsAreVisible(int type)
     Returns whether other inserts are visible.
public  booleanothersUpdatesAreVisible(int type)
     Returns whether other updates are visible.
public  booleanownDeletesAreVisible(int type)
     Returns whether own deletes are visible.
public  booleanownInsertsAreVisible(int type)
     Returns whether own inserts are visible.
public  booleanownUpdatesAreVisible(int type)
     Returns whether own updates are visible.
public  booleanstoresLowerCaseIdentifiers()
     Checks if for CREATE TABLE Test(ID INT), getTables returns test as the table name.
public  booleanstoresLowerCaseQuotedIdentifiers()
     Checks if for CREATE TABLE "Test"(ID INT), getTables returns test as the table name.
public  booleanstoresMixedCaseIdentifiers()
     Checks if for CREATE TABLE Test(ID INT), getTables returns Test as the table name.
public  booleanstoresMixedCaseQuotedIdentifiers()
     Checks if for CREATE TABLE "Test"(ID INT), getTables returns Test as the table name.
public  booleanstoresUpperCaseIdentifiers()
     Checks if for CREATE TABLE Test(ID INT), getTables returns TEST as the table name.
public  booleanstoresUpperCaseQuotedIdentifiers()
     Checks if for CREATE TABLE "Test"(ID INT), getTables returns TEST as the table name.
public  booleansupportsANSI92EntryLevelSQL()
     Returns whether SQL-92 entry level grammar is supported.
public  booleansupportsANSI92FullSQL()
     Returns whether SQL-92 full level grammar is supported.
public  booleansupportsANSI92IntermediateSQL()
     Returns whether SQL-92 intermediate level grammar is supported.
public  booleansupportsAlterTableWithAddColumn()
     Returns whether alter table with add column is supported.
public  booleansupportsAlterTableWithDropColumn()
     Returns whether alter table with drop column is supported.
public  booleansupportsBatchUpdates()
     Returns whether batch updates are supported.
public  booleansupportsCatalogsInDataManipulation()
     Returns whether the catalog name in INSERT, UPDATE, DELETE is supported.
public  booleansupportsCatalogsInIndexDefinitions()
     Returns whether the catalog name in CREATE INDEX is supported.
public  booleansupportsCatalogsInPrivilegeDefinitions()
     Returns whether the catalog name in GRANT is supported.
public  booleansupportsCatalogsInProcedureCalls()
     Returns whether the catalog name in procedure calls is supported.
public  booleansupportsCatalogsInTableDefinitions()
     Returns whether the catalog name in CREATE TABLE is supported.
public  booleansupportsColumnAliasing()
     Returns whether column aliasing is supported.
public  booleansupportsConvert()
     Returns whether CONVERT is supported.
public  booleansupportsConvert(int fromType, int toType)
     Returns whether CONVERT is supported for one datatype to another.
public  booleansupportsCoreSQLGrammar()
     Returns whether ODBC Core SQL grammar is supported.
public  booleansupportsCorrelatedSubqueries()
     Returns whether correlated subqueries are supported.
public  booleansupportsDataDefinitionAndDataManipulationTransactions()
     Returns whether data manipulation and CREATE/DROP is supported in transactions.
public  booleansupportsDataManipulationTransactionsOnly()
     Returns whether only data manipulations are supported in transactions.
public  booleansupportsDifferentTableCorrelationNames()
     Returns whether table correlation names (table alias) are restricted to be different than table names.
public  booleansupportsExpressionsInOrderBy()
     Returns whether expression in ORDER BY are supported.
public  booleansupportsExtendedSQLGrammar()
     Returns whether ODBC Extended SQL grammar is supported.
public  booleansupportsFullOuterJoins()
     Returns whether full outer joins are supported.
public  booleansupportsGetGeneratedKeys()
     Does the database support getGeneratedKeys.
public  booleansupportsGroupBy()
     Returns whether GROUP BY is supported.
public  booleansupportsGroupByBeyondSelect()
     Checks whether a GROUP BY clause can use columns that are not in the SELECT clause, provided that it specifies all the columns in the SELECT clause.
public  booleansupportsGroupByUnrelated()
     Returns whether GROUP BY is supported if the column is not in the SELECT list.
public  booleansupportsIntegrityEnhancementFacility()
     Returns whether referential integrity is supported.
public  booleansupportsLikeEscapeClause()
     Returns whether LIKE...
public  booleansupportsLimitedOuterJoins()
     Returns whether limited outer joins are supported.
public  booleansupportsMinimumSQLGrammar()
     Returns whether ODBC Minimum SQL grammar is supported.
public  booleansupportsMixedCaseIdentifiers()
     Checks if for CREATE TABLE Test(ID INT), getTables returns Test as the table name.
public  booleansupportsMixedCaseQuotedIdentifiers()
     Checks if a table created with CREATE TABLE "Test"(ID INT) is a different table than a table created with CREATE TABLE TEST(ID INT).
public  booleansupportsMultipleOpenResults()
     Does the database support multiple open result sets.
public  booleansupportsMultipleResultSets()
     Returns whether multiple result sets are supported.
public  booleansupportsMultipleTransactions()
     Returns whether multiple transactions (on different connections) are supported.
public  booleansupportsNamedParameters()
     Does the database support named parameters.
public  booleansupportsNonNullableColumns()
     Returns whether columns with NOT NULL are supported.
public  booleansupportsOpenCursorsAcrossCommit()
     Returns whether open result sets across commits are supported.
public  booleansupportsOpenCursorsAcrossRollback()
     Returns whether open result sets across rollback are supported.
public  booleansupportsOpenStatementsAcrossCommit()
     Returns whether open statements across commit are supported.
public  booleansupportsOpenStatementsAcrossRollback()
     Returns whether open statements across rollback are supported.
public  booleansupportsOrderByUnrelated()
     Returns whether ORDER BY is supported if the column is not in the SELECT list.
public  booleansupportsOuterJoins()
     Returns whether outer joins are supported.
public  booleansupportsPositionedDelete()
     Returns whether positioned deletes are supported.
public  booleansupportsPositionedUpdate()
     Returns whether positioned updates are supported.
public  booleansupportsResultSetConcurrency(int type, int concurrency)
     Returns whether a specific result set concurrency is supported.
public  booleansupportsResultSetHoldability(int holdability)
     Does this database supports a result set holdability.
public  booleansupportsResultSetType(int type)
     Returns whether a specific result set type is supported.
public  booleansupportsSavepoints()
     Does the database support savepoints.
public  booleansupportsSchemasInDataManipulation()
     Returns whether the schema name in INSERT, UPDATE, DELETE is supported.
public  booleansupportsSchemasInIndexDefinitions()
     Returns whether the schema name in CREATE INDEX is supported.
public  booleansupportsSchemasInPrivilegeDefinitions()
     Returns whether the schema name in GRANT is supported.
public  booleansupportsSchemasInProcedureCalls()
     Returns whether the schema name in procedure calls is supported.
public  booleansupportsSchemasInTableDefinitions()
     Returns whether the schema name in CREATE TABLE is supported.
public  booleansupportsSelectForUpdate()
     Returns whether SELECT ...
public  booleansupportsStatementPooling()
     Does the database support statement pooling.
public  booleansupportsStoredFunctionsUsingCallSyntax()
     Returns whether the database supports calling functions using the call syntax.
public  booleansupportsStoredProcedures()
     Returns whether stored procedures are supported.
public  booleansupportsSubqueriesInComparisons()
     Returns whether subqueries (SELECT) in comparisons are supported.
public  booleansupportsSubqueriesInExists()
     Returns whether SELECT in EXISTS is supported.
public  booleansupportsSubqueriesInIns()
     Returns whether IN(SELECT...) is supported.
public  booleansupportsSubqueriesInQuantifieds()
     Returns whether subqueries in quantified expression are supported.
public  booleansupportsTableCorrelationNames()
     Returns whether table correlation names (table alias) are supported.
public  booleansupportsTransactionIsolationLevel(int level)
     Returns whether a specific transaction isolation level is supported.
public  booleansupportsTransactions()
     Returns whether transactions are supported.
public  booleansupportsUnion()
     Returns whether UNION SELECT is supported.
public  booleansupportsUnionAll()
     Returns whether UNION ALL SELECT is supported.
public  StringtoString()
    
public  booleanupdatesAreDetected(int type)
     Returns whether updates are detected.
public  booleanusesLocalFilePerTable()
     Checks if this database use one file per table.
public  booleanusesLocalFiles()
     Checks if this database store data in local files.


Constructor Detail
JdbcDatabaseMetaData
JdbcDatabaseMetaData(JdbcConnection conn, Trace trace, int id)(Code)




Method Detail
allProceduresAreCallable
public boolean allProceduresAreCallable()(Code)
Checks if all procedures callable. true



allTablesAreSelectable
public boolean allTablesAreSelectable()(Code)
Checks if it possible to query all tables returned by getTables. true



autoCommitFailureClosesAllResultSets
public boolean autoCommitFailureClosesAllResultSets() throws SQLException(Code)
Returns whether an exception while auto commit is on closes all result sets. false



dataDefinitionCausesTransactionCommit
public boolean dataDefinitionCausesTransactionCommit()(Code)
Returns whether CREATE/DROP commit an open transaction. true



dataDefinitionIgnoredInTransactions
public boolean dataDefinitionIgnoredInTransactions()(Code)
Returns whether CREATE/DROP do not affect transactions. false



deletesAreDetected
public boolean deletesAreDetected(int type)(Code)
Returns whether deletes are detected. false



doesMaxRowSizeIncludeBlobs
public boolean doesMaxRowSizeIncludeBlobs()(Code)
Returns whether the maximum row size includes blobs. false



getAttributes
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException(Code)
[Not supported]



getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog, String schema, String tableName, int scope, boolean nullable) throws SQLException(Code)
Gets the list of columns that best identifier a row in a table. The list is ordered by SCOPE.
  • 1 SCOPE (short) scope of result (always bestRowSession)
  • 2 COLUMN_NAME (String) column name
  • 3 DATA_TYPE (short) SQL data type, see also java.sql.Types
  • 4 TYPE_NAME (String) type name
  • 5 COLUMN_SIZE (int) precision
  • 6 BUFFER_LENGTH (int) unused
  • 7 DECIMAL_DIGITS (short) scale
  • 8 PSEUDO_COLUMN (short) (always bestRowNotPseudo)

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - schema name (must be specified)
Parameters:
  tableName - table name (must be specified)
Parameters:
  scope - ignored
Parameters:
  nullable - ignored the primary key index
throws:
  SQLException - if the connection is closed



getCatalogSeparator
public String getCatalogSeparator()(Code)
Returns the catalog separator. "."



getCatalogTerm
public String getCatalogTerm()(Code)
Returns the term for "catalog". "catalog"



getCatalogs
public ResultSet getCatalogs() throws SQLException(Code)
Gets the list of catalogs. The result set is sorted by TABLE_CAT.
  • 1 TABLE_CAT (String) catalog name
the catalog list
throws:
  SQLException - if the connection is closed



getClientInfoProperties
public ResultSet getClientInfoProperties() throws SQLException(Code)
[Not supported] Returns the client info properties.



getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException(Code)
Gets the list of column privileges. The result set is sorted by COLUMN_NAME and PRIVILEGE
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 COLUMN_NAME (String) column name
  • 5 GRANTOR (String) grantor of access
  • 6 GRANTEE (String) grantee of access
  • 7 PRIVILEGE (String) SELECT, INSERT, UPDATE, DELETE or REFERENCES (only one per row)
  • 8 IS_GRANTABLE (String) YES means the grantee can grant access to others

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - null (to get all objects) or a schema name (uppercase forunquoted names)
Parameters:
  table - a table name (uppercase for unquoted names)
Parameters:
  columnNamePattern - null (to get all objects) or a column name(uppercase for unquoted names) the list of privileges
throws:
  SQLException - if the connection is closed



getColumns
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException(Code)
Gets the list of columns. The result set is sorted by TABLE_SCHEM, TABLE_NAME, and ORDINAL_POSITION.
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 COLUMN_NAME (String) column name
  • 5 DATA_TYPE (short) data type (see java.sql.Types)
  • 6 TYPE_NAME (String) data type name ("INTEGER", "VARCHAR",...)
  • 7 COLUMN_SIZE (int) precision
  • 8 BUFFER_LENGTH (int) unused
  • 9 DECIMAL_DIGITS (int) scale (0 for INTEGER and VARCHAR)
  • 10 NUM_PREC_RADIX (int) radix (always 10)
  • 11 NULLABLE (int) nullable or not. columnNoNulls or columnNullable
  • 12 REMARKS (String) comment (always empty)
  • 13 COLUMN_DEF (String) default value
  • 14 SQL_DATA_TYPE (int) unused
  • 15 SQL_DATETIME_SUB (int) unused
  • 16 CHAR_OCTET_LENGTH (int) unused
  • 17 ORDINAL_POSITION (int) the column index (1,2,...)
  • 18 IS_NULLABLE (String) "NO" or "YES"

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schemaPattern - null (to get all objects) or a schema name(uppercase for unquoted names)
Parameters:
  tableNamePattern - null (to get all objects) or a table name(uppercase for unquoted names)
Parameters:
  columnNamePattern - null (to get all objects) or a column name(uppercase for unquoted names) the list of columns
throws:
  SQLException - if the connection is closed



getConnection
public Connection getConnection()(Code)
Returns the connection that created this object. the connection



getCrossReference
public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException(Code)
Gets the list of foreign key columns that references a table, as well as the list of primary key columns that are references by a table. The result set is sorted by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, FK_NAME, KEY_SEQ.
  • 1 PKTABLE_CAT (String) primary catalog
  • 2 PKTABLE_SCHEM (String) primary schema
  • 3 PKTABLE_NAME (String) primary table
  • 4 PKCOLUMN_NAME (String) primary column
  • 5 FKTABLE_CAT (String) foreign catalog
  • 6 FKTABLE_SCHEM (String) foreign schema
  • 7 FKTABLE_NAME (String) foreign table
  • 8 FKCOLUMN_NAME (String) foreign column
  • 9 KEY_SEQ (short) sequence number (1,2,...)
  • 10 UPDATE_RULE (short) action on update (see DatabaseMetaData.importedKey...)
  • 11 DELETE_RULE (short) action on delete (see DatabaseMetaData.importedKey...)
  • 12 FK_NAME (String) foreign key name
  • 13 PK_NAME (String) primary key name
  • 14 DEFERRABILITY (short) deferrable or not (always importedKeyNotDeferrable)

Parameters:
  primaryCatalog - ignored
Parameters:
  primarySchema - the schema name of the primary table (must bespecified)
Parameters:
  primaryTable - the name of the primary table (must be specified)
Parameters:
  foreignCatalog - ignored
Parameters:
  foreignSchema - the schema name of the foreign table (must bespecified)
Parameters:
  foreignTable - the name of the foreign table (must be specified) the result set
throws:
  SQLException - if the connection is closed



getDatabaseMajorVersion
public int getDatabaseMajorVersion()(Code)
Gets the major version of the database. the major version



getDatabaseMinorVersion
public int getDatabaseMinorVersion()(Code)
Gets the minor version of the database. the minor version



getDatabaseProductName
public String getDatabaseProductName()(Code)
Gets the database product name. the product name



getDatabaseProductVersion
public String getDatabaseProductVersion()(Code)
Gets the product version of the database. the product version



getDefaultTransactionIsolation
public int getDefaultTransactionIsolation()(Code)
Returns the default transaction isolation level. Connection.TRANSACTION_READ_COMMITTED



getDriverMajorVersion
public int getDriverMajorVersion()(Code)
Returns the major version of this driver. the major version number



getDriverMinorVersion
public int getDriverMinorVersion()(Code)
Returns the minor version of this driver. the minor version number



getDriverName
public String getDriverName()(Code)
Gets the name of the JDBC driver. the driver name



getDriverVersion
public String getDriverVersion()(Code)
Gets the version number of the driver in the format [MajorVersion].[MinorVersion]. the version number



getExportedKeys
public ResultSet getExportedKeys(String catalog, String schema, String tableName) throws SQLException(Code)
Gets the list of foreign key columns that reference a table. The result set is sorted by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, FK_NAME, KEY_SEQ.
  • 1 PKTABLE_CAT (String) primary catalog
  • 2 PKTABLE_SCHEM (String) primary schema
  • 3 PKTABLE_NAME (String) primary table
  • 4 PKCOLUMN_NAME (String) primary column
  • 5 FKTABLE_CAT (String) foreign catalog
  • 6 FKTABLE_SCHEM (String) foreign schema
  • 7 FKTABLE_NAME (String) foreign table
  • 8 FKCOLUMN_NAME (String) foreign column
  • 9 KEY_SEQ (short) sequence number (1,2,...)
  • 10 UPDATE_RULE (short) action on update (see DatabaseMetaData.importedKey...)
  • 11 DELETE_RULE (short) action on delete (see DatabaseMetaData.importedKey...)
  • 12 FK_NAME (String) foreign key name
  • 13 PK_NAME (String) primary key name
  • 14 DEFERRABILITY (short) deferrable or not (always importedKeyNotDeferrable)

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - the schema name of the primary table
Parameters:
  tableName - the name of the primary table the result set
throws:
  SQLException - if the connection is closed



getExtraNameCharacters
public String getExtraNameCharacters()(Code)
Returns the characters that are allowed for identifiers in addiction to A-Z, a-z, 0-9 and '_'. an empty String ("")



getFunctionColumns
public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException(Code)
[Not supported] Gets the list of function columns.



getFunctions
public ResultSet getFunctions(String arg0, String arg1, String arg2) throws SQLException(Code)
[Not supported] Gets the list of functions.



getIdentifierQuoteString
public String getIdentifierQuoteString()(Code)
Returns the string used to quote identifiers. a double quote



getImportedKeys
public ResultSet getImportedKeys(String catalog, String schema, String tableName) throws SQLException(Code)
Gets the list of primary key columns that are referenced by a table. The result set is sorted by PKTABLE_CAT, PKTABLE_SCHEM, PKTABLE_NAME, FK_NAME, KEY_SEQ.
  • 1 PKTABLE_CAT (String) primary catalog
  • 2 PKTABLE_SCHEM (String) primary schema
  • 3 PKTABLE_NAME (String) primary table
  • 4 PKCOLUMN_NAME (String) primary column
  • 5 FKTABLE_CAT (String) foreign catalog
  • 6 FKTABLE_SCHEM (String) foreign schema
  • 7 FKTABLE_NAME (String) foreign table
  • 8 FKCOLUMN_NAME (String) foreign column
  • 9 KEY_SEQ (short) sequence number (1, 2, ...)
  • 10 UPDATE_RULE (short) action on update (see DatabaseMetaData.importedKey...)
  • 11 DELETE_RULE (short) action on delete (see DatabaseMetaData.importedKey...)
  • 12 FK_NAME (String) foreign key name
  • 13 PK_NAME (String) primary key name
  • 14 DEFERRABILITY (short) deferrable or not (always importedKeyNotDeferrable)

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - the schema name of the foreign table
Parameters:
  tableName - the name of the foreign table the result set
throws:
  SQLException - if the connection is closed



getIndexInfo
public ResultSet getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate) throws SQLException(Code)
Gets the list of indexes for this database. The primary key index (if there is one) is also listed, with the name PRIMARY_KEY. The result set is sorted by NON_UNIQUE ('false' first), TYPE, TABLE_SCHEM, INDEX_NAME, and ORDINAL_POSITION.
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 NON_UNIQUE (boolean) 'false' for unique, 'true' for non-unique
  • 5 INDEX_QUALIFIER (String) index catalog
  • 6 INDEX_NAME (String) index name
  • 7 TYPE (short) the index type (always tableIndexOther)
  • 8 ORDINAL_POSITION (short) column index (1, 2, ...)
  • 9 COLUMN_NAME (String) column name
  • 10 ASC_OR_DESC (String) ascending or descending (always 'A')
  • 11 CARDINALITY (int) numbers of unique values
  • 12 PAGES (int) number of pages use (always 0)
  • 13 FILTER_CONDITION (String) filter condition (always empty)
  • 14 SORT_TYPE (int) the sort type bit map: 1=DESCENDING, 2=NULLS_FIRST, 4=NULLS_LAST

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - schema name (must be specified)
Parameters:
  tableName - table name (must be specified)
Parameters:
  unique - only unique indexes
Parameters:
  approximate - is ignored the list of indexes and columns
throws:
  SQLException - if the connection is closed



getJDBCMajorVersion
public int getJDBCMajorVersion() throws SQLException(Code)
Gets the major version of the supported JDBC API. the major version



getJDBCMinorVersion
public int getJDBCMinorVersion() throws SQLException(Code)
Gets the minor version of the supported JDBC API. the minor version



getMaxBinaryLiteralLength
public int getMaxBinaryLiteralLength()(Code)
Returns the maximum length for hex values (characters). 0 for limit is unknown



getMaxCatalogNameLength
public int getMaxCatalogNameLength()(Code)
Returns the maximum length for a catalog name. 0 for limit is unknown



getMaxCharLiteralLength
public int getMaxCharLiteralLength()(Code)
Returns the maximum length for literals. 0 for limit is unknown



getMaxColumnNameLength
public int getMaxColumnNameLength()(Code)
Returns the maximum length for column names. 0 for limit is unknown



getMaxColumnsInGroupBy
public int getMaxColumnsInGroupBy()(Code)
Returns the maximum number of columns in GROUP BY. 0 for limit is unknown



getMaxColumnsInIndex
public int getMaxColumnsInIndex()(Code)
Returns the maximum number of columns in CREATE INDEX. 0 for limit is unknown



getMaxColumnsInOrderBy
public int getMaxColumnsInOrderBy()(Code)
Returns the maximum number of columns in ORDER BY. 0 for limit is unknown



getMaxColumnsInSelect
public int getMaxColumnsInSelect()(Code)
Returns the maximum number of columns in SELECT. 0 for limit is unknown



getMaxColumnsInTable
public int getMaxColumnsInTable()(Code)
Returns the maximum number of columns in CREATE TABLE. 0 for limit is unknown



getMaxConnections
public int getMaxConnections()(Code)
Returns the maximum number of open connection. 0 for limit is unknown



getMaxCursorNameLength
public int getMaxCursorNameLength()(Code)
Returns the maximum length for a cursor name. 0 for limit is unknown



getMaxIndexLength
public int getMaxIndexLength()(Code)
Returns the maximum length for an index (in bytes). 0 for limit is unknown



getMaxProcedureNameLength
public int getMaxProcedureNameLength()(Code)
Returns the maximum length for a procedure name. 0 for limit is unknown



getMaxRowSize
public int getMaxRowSize()(Code)
Returns the maximum size of a row (in bytes). 0 for limit is unknown



getMaxSchemaNameLength
public int getMaxSchemaNameLength()(Code)
Returns the maximum length for a schema name. 0 for limit is unknown



getMaxStatementLength
public int getMaxStatementLength()(Code)
Returns the maximum length of a statement. 0 for limit is unknown



getMaxStatements
public int getMaxStatements()(Code)
Returns the maximum number of open statements. 0 for limit is unknown



getMaxTableNameLength
public int getMaxTableNameLength()(Code)
Returns the maximum length for a table name. 0 for limit is unknown



getMaxTablesInSelect
public int getMaxTablesInSelect()(Code)
Returns the maximum number of tables in a SELECT. 0 for limit is unknown



getMaxUserNameLength
public int getMaxUserNameLength()(Code)
Returns the maximum length for a user name. 0 for limit is unknown



getNumericFunctions
public String getNumericFunctions() throws SQLException(Code)
Returns the list of numeric functions supported by this database. the list



getPrimaryKeys
public ResultSet getPrimaryKeys(String catalog, String schema, String tableName) throws SQLException(Code)
Gets the primary key columns for a table. The result set is sorted by TABLE_SCHEM, and COLUMN_NAME (and not by KEY_SEQ).
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 COLUMN_NAME (String) column name
  • 5 KEY_SEQ (short) the column index of this column (1,2,...)
  • 6 PK_NAME (String) always 'PRIMARY_KEY'

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - schema name (must be specified)
Parameters:
  tableName - table name (must be specified) the list of primary key columns
throws:
  SQLException - if the connection is closed



getProcedureColumns
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException(Code)
Gets the list of procedure columns.
  • 1 PROCEDURE_CAT (String) catalog
  • 2 PROCEDURE_SCHEM (String) schema
  • 3 PROCEDURE_NAME (String) name
  • 4 COLUMN_NAME (String) column name
  • 5 COLUMN_TYPE (short) column type
  • 6 DATA_TYPE (short) sql type
  • 7 TYPE_NAME (String) type name
  • 8 PRECISION (int) precision
  • 9 LENGTH (int) length
  • 10 SCALE (short) scale
  • 11 RADIX (int) always 10
  • 12 NULLABLE (short) nullable
  • 13 REMARKS (String) description

throws:
  SQLException - if the connection is closed



getProcedureTerm
public String getProcedureTerm()(Code)
Returns the term for "procedure". "procedure"



getProcedures
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException(Code)
Gets the list of procedures. The result set is sorted by PROCEDURE_SCHEM, and PROCEDURE_NAME.
  • 1 PROCEDURE_CAT (String) catalog
  • 2 PROCEDURE_SCHEM (String) schema
  • 3 PROCEDURE_NAME (String) name
  • 4 NUM_INPUT_PARAMS (int) for future use, always 0
  • 5 NUM_OUTPUT_PARAMS (int) for future use, always 0
  • 6 NUM_RESULT_SETS (int) for future use, always 0
  • 7 REMARKS (String) description
  • 8 PROCEDURE_TYPE (short) if this procedure returns a result (procedureNoResult or procedureReturnsResult)
an empty result set
throws:
  SQLException - if the connection is closed



getResultSetHoldability
public int getResultSetHoldability()(Code)
Gets the result set holdability. ResultSet.CLOSE_CURSORS_AT_COMMIT



getSQLKeywords
public String getSQLKeywords()(Code)
Gets the comma-separated list of all SQL keywords that are not supported as table/column/index name, in addition to the SQL-92 keywords. a list with the keywords



getSQLStateType
public int getSQLStateType()(Code)
Gets the SQL State type. DatabaseMetaData.sqlStateSQL99



getSchemaTerm
public String getSchemaTerm()(Code)
Returns the term for "schema". "schema"



getSchemas
public ResultSet getSchemas() throws SQLException(Code)
Gets the list of schemas. The result set is sorted by TABLE_SCHEM.
  • 1 TABLE_SCHEM (String) schema name
  • 2 TABLE_CATALOG (String) catalog name
  • 3 IS_DEFAULT (boolean) if this is the default schema
the schema list
throws:
  SQLException - if the connection is closed



getSchemas
public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException(Code)
[Not supported] Gets the list of schemas.



getSearchStringEscape
public String getSearchStringEscape()(Code)
Returns the default escape character for LIKE. the character '\'



getStringFunctions
public String getStringFunctions() throws SQLException(Code)
Returns the list of string functions supported by this database. the list



getSuperTables
public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException(Code)
Get the list of super tables of a table. This method currently returns an empty result set.
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 SUPERTABLE_NAME (String) the name of the super table
an empty result set



getSuperTypes
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException(Code)
[Not supported]



getSystemFunctions
public String getSystemFunctions() throws SQLException(Code)
Returns the list of system functions supported by this database. the list



getTablePrivileges
public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException(Code)
Gets the list of table privileges. The result set is sorted by TABLE_SCHEM, TABLE_NAME, and PRIVILEGE.
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 GRANTOR (String) grantor of access
  • 5 GRANTEE (String) grantee of access
  • 6 PRIVILEGE (String) SELECT, INSERT, UPDATE, DELETE or REFERENCES (only one per row)
  • 7 IS_GRANTABLE (String) YES means the grantee can grant access to others

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schemaPattern - null (to get all objects) or a schema name(uppercase for unquoted names)
Parameters:
  tableNamePattern - null (to get all objects) or a table name(uppercase for unquoted names) the list of privileges
throws:
  SQLException - if the connection is closed



getTableTypes
public ResultSet getTableTypes() throws SQLException(Code)
Gets the list of table types. This call returns a result set with three records: "SYSTEM TABLE", "TABLE", "and "VIEW". The result set is sorted by TABLE_TYPE.
  • 1 TABLE_TYPE (String) table type
the table types
throws:
  SQLException - if the connection is closed



getTables
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException(Code)
Gets the list of tables in the database. The result set is sorted by TABLE_TYPE, TABLE_SCHEM, and TABLE_NAME.
  • 1 TABLE_CAT (String) table catalog
  • 2 TABLE_SCHEM (String) table schema
  • 3 TABLE_NAME (String) table name
  • 4 TABLE_TYPE (String) table type
  • 5 REMARKS (String) comment
  • 6 SQL (String) the create table statement or NULL for systems tables

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schemaPattern - null (to get all objects) or a schema name(uppercase for unquoted names)
Parameters:
  tableNamePattern - null (to get all objects) or a table name(uppercase for unquoted names)
Parameters:
  types - null or a list of table types the list of columns
throws:
  SQLException - if the connection is closed



getTimeDateFunctions
public String getTimeDateFunctions() throws SQLException(Code)
Returns the list of date and time functions supported by this database. the list



getTypeInfo
public ResultSet getTypeInfo() throws SQLException(Code)
Gets the list of data types. The result set is sorted by DATA_TYPE and afterwards by how closely the data type maps to the corresponding JDBC SQL type (best match first).
  • 1 TYPE_NAME (String) type name
  • 2 DATA_TYPE (short) SQL data type - see also java.sql.Types
  • 3 PRECISION (int) maximum precision
  • 4 LITERAL_PREFIX (String) prefix used to quote a literal
  • 5 LITERAL_SUFFIX (String) suffix used to quote a literal
  • 6 CREATE_PARAMS (String) parameters used (may be null)
  • 7 NULLABLE (short) typeNoNulls (NULL not allowed) or typeNullable
  • 8 CASE_SENSITIVE (boolean) case sensitive
  • 9 SEARCHABLE (short) typeSearchable
  • 10 UNSIGNED_ATTRIBUTE (boolean) unsigned
  • 11 FIXED_PREC_SCALE (boolean) fixed precision
  • 12 AUTO_INCREMENT (boolean) auto increment
  • 13 LOCAL_TYPE_NAME (String) localized version of the data type
  • 14 MINIMUM_SCALE (short) minimum scale
  • 15 MAXIMUM_SCALE (short) maximum scale
  • 16 SQL_DATA_TYPE (int) unused
  • 17 SQL_DATETIME_SUB (int) unused
  • 18 NUM_PREC_RADIX (int) 2 for binary, 10 for decimal
the list of data types
throws:
  SQLException - if the connection is closed



getUDTs
public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException(Code)
Gets the list of user defined data types. This call returns an empty result set.
  • 1 TYPE_CAT (String) catalog
  • 2 TYPE_SCHEM (String) schema
  • 3 TYPE_NAME (String) type name
  • 4 CLASS_NAME (String) Java class
  • 5 DATA_TYPE (short) SQL Type - see also java.sql.Types
  • 6 REMARKS (String) description
  • 7 BASE_TYPE (short) base type - see also java.sql.Types

Parameters:
  catalog - ignored
Parameters:
  schemaPattern - ignored
Parameters:
  typeNamePattern - ignored
Parameters:
  types - ignored an empty result set
throws:
  SQLException - if the connection is closed



getURL
public String getURL() throws SQLException(Code)
Returns the database URL for this connection. the url



getUserName
public String getUserName() throws SQLException(Code)
Returns the user name as passed to DriverManager.getConnection(url, user, password). the user name



getVersionColumns
public ResultSet getVersionColumns(String catalog, String schema, String tableName) throws SQLException(Code)
Get the list of columns that are update when any value is updated.
  • 1 SCOPE (int) not used
  • 2 COLUMN_NAME (String) column name
  • 3 DATA_TYPE (int) SQL data type - see also java.sql.Types
  • 4 TYPE_NAME (String) data type name
  • 5 COLUMN_SIZE (int) precision
  • 6 BUFFER_LENGTH (int) length (bytes)
  • 7 DECIMAL_DIGITS (int) scale
  • 8 PSEUDO_COLUMN (int) is this column a pseudo column

Parameters:
  catalog - null (to get all objects) or the catalog name
Parameters:
  schema - schema name (must be specified)
Parameters:
  tableName - table name (must be specified) an empty result set
throws:
  SQLException - if the connection is closed



insertsAreDetected
public boolean insertsAreDetected(int type)(Code)
Returns whether inserts are detected. false



isCatalogAtStart
public boolean isCatalogAtStart()(Code)
Returns whether the catalog is at the beginning. true



isReadOnly
public boolean isReadOnly() throws SQLException(Code)
Returns the same as Connection.isReadOnly(). if read only optimization is switched on



locatorsUpdateCopy
public boolean locatorsUpdateCopy()(Code)
Does the database make a copy before updating. false



nullPlusNonNullIsNull
public boolean nullPlusNonNullIsNull()(Code)
Returns whether NULL+1 is NULL or not. true



nullsAreSortedAtEnd
public boolean nullsAreSortedAtEnd()(Code)
Checks is NULL values are sorted at the end (no matter if ASC or DESC is used). false



nullsAreSortedAtStart
public boolean nullsAreSortedAtStart()(Code)
Checks is NULL values are sorted at the beginning (no matter if ASC or DESC is used). false



nullsAreSortedHigh
public boolean nullsAreSortedHigh()(Code)
Checks is NULL values are sorted high (bigger than any non-null values). false



nullsAreSortedLow
public boolean nullsAreSortedLow()(Code)
Checks is NULL values are sorted low (smaller than any non-null values). true



othersDeletesAreVisible
public boolean othersDeletesAreVisible(int type)(Code)
Returns whether other deletes are visible. false



othersInsertsAreVisible
public boolean othersInsertsAreVisible(int type)(Code)
Returns whether other inserts are visible. false



othersUpdatesAreVisible
public boolean othersUpdatesAreVisible(int type)(Code)
Returns whether other updates are visible. false



ownDeletesAreVisible
public boolean ownDeletesAreVisible(int type)(Code)
Returns whether own deletes are visible. false



ownInsertsAreVisible
public boolean ownInsertsAreVisible(int type)(Code)
Returns whether own inserts are visible. false



ownUpdatesAreVisible
public boolean ownUpdatesAreVisible(int type)(Code)
Returns whether own updates are visible. false



storesLowerCaseIdentifiers
public boolean storesLowerCaseIdentifiers()(Code)
Checks if for CREATE TABLE Test(ID INT), getTables returns test as the table name. false



storesLowerCaseQuotedIdentifiers
public boolean storesLowerCaseQuotedIdentifiers()(Code)
Checks if for CREATE TABLE "Test"(ID INT), getTables returns test as the table name. false



storesMixedCaseIdentifiers
public boolean storesMixedCaseIdentifiers()(Code)
Checks if for CREATE TABLE Test(ID INT), getTables returns Test as the table name. false



storesMixedCaseQuotedIdentifiers
public boolean storesMixedCaseQuotedIdentifiers()(Code)
Checks if for CREATE TABLE "Test"(ID INT), getTables returns Test as the table name. true



storesUpperCaseIdentifiers
public boolean storesUpperCaseIdentifiers()(Code)
Checks if for CREATE TABLE Test(ID INT), getTables returns TEST as the table name. true



storesUpperCaseQuotedIdentifiers
public boolean storesUpperCaseQuotedIdentifiers()(Code)
Checks if for CREATE TABLE "Test"(ID INT), getTables returns TEST as the table name. false



supportsANSI92EntryLevelSQL
public boolean supportsANSI92EntryLevelSQL()(Code)
Returns whether SQL-92 entry level grammar is supported. true



supportsANSI92FullSQL
public boolean supportsANSI92FullSQL()(Code)
Returns whether SQL-92 full level grammar is supported. false



supportsANSI92IntermediateSQL
public boolean supportsANSI92IntermediateSQL()(Code)
Returns whether SQL-92 intermediate level grammar is supported. false



supportsAlterTableWithAddColumn
public boolean supportsAlterTableWithAddColumn()(Code)
Returns whether alter table with add column is supported. true



supportsAlterTableWithDropColumn
public boolean supportsAlterTableWithDropColumn()(Code)
Returns whether alter table with drop column is supported. true



supportsBatchUpdates
public boolean supportsBatchUpdates()(Code)
Returns whether batch updates are supported. true



supportsCatalogsInDataManipulation
public boolean supportsCatalogsInDataManipulation()(Code)
Returns whether the catalog name in INSERT, UPDATE, DELETE is supported. true



supportsCatalogsInIndexDefinitions
public boolean supportsCatalogsInIndexDefinitions()(Code)
Returns whether the catalog name in CREATE INDEX is supported. true



supportsCatalogsInPrivilegeDefinitions
public boolean supportsCatalogsInPrivilegeDefinitions()(Code)
Returns whether the catalog name in GRANT is supported. true



supportsCatalogsInProcedureCalls
public boolean supportsCatalogsInProcedureCalls()(Code)
Returns whether the catalog name in procedure calls is supported. false



supportsCatalogsInTableDefinitions
public boolean supportsCatalogsInTableDefinitions()(Code)
Returns whether the catalog name in CREATE TABLE is supported. true



supportsColumnAliasing
public boolean supportsColumnAliasing()(Code)
Returns whether column aliasing is supported. true



supportsConvert
public boolean supportsConvert()(Code)
Returns whether CONVERT is supported. true



supportsConvert
public boolean supportsConvert(int fromType, int toType)(Code)
Returns whether CONVERT is supported for one datatype to another. true



supportsCoreSQLGrammar
public boolean supportsCoreSQLGrammar()(Code)
Returns whether ODBC Core SQL grammar is supported. true



supportsCorrelatedSubqueries
public boolean supportsCorrelatedSubqueries()(Code)
Returns whether correlated subqueries are supported. true



supportsDataDefinitionAndDataManipulationTransactions
public boolean supportsDataDefinitionAndDataManipulationTransactions()(Code)
Returns whether data manipulation and CREATE/DROP is supported in transactions. false



supportsDataManipulationTransactionsOnly
public boolean supportsDataManipulationTransactionsOnly()(Code)
Returns whether only data manipulations are supported in transactions. true



supportsDifferentTableCorrelationNames
public boolean supportsDifferentTableCorrelationNames()(Code)
Returns whether table correlation names (table alias) are restricted to be different than table names. false



supportsExpressionsInOrderBy
public boolean supportsExpressionsInOrderBy()(Code)
Returns whether expression in ORDER BY are supported. true



supportsExtendedSQLGrammar
public boolean supportsExtendedSQLGrammar()(Code)
Returns whether ODBC Extended SQL grammar is supported. false



supportsFullOuterJoins
public boolean supportsFullOuterJoins()(Code)
Returns whether full outer joins are supported. false



supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys()(Code)
Does the database support getGeneratedKeys. true



supportsGroupBy
public boolean supportsGroupBy()(Code)
Returns whether GROUP BY is supported. true



supportsGroupByBeyondSelect
public boolean supportsGroupByBeyondSelect()(Code)
Checks whether a GROUP BY clause can use columns that are not in the SELECT clause, provided that it specifies all the columns in the SELECT clause. true



supportsGroupByUnrelated
public boolean supportsGroupByUnrelated()(Code)
Returns whether GROUP BY is supported if the column is not in the SELECT list. true



supportsIntegrityEnhancementFacility
public boolean supportsIntegrityEnhancementFacility()(Code)
Returns whether referential integrity is supported. true



supportsLikeEscapeClause
public boolean supportsLikeEscapeClause()(Code)
Returns whether LIKE... ESCAPE is supported. true



supportsLimitedOuterJoins
public boolean supportsLimitedOuterJoins()(Code)
Returns whether limited outer joins are supported. true



supportsMinimumSQLGrammar
public boolean supportsMinimumSQLGrammar()(Code)
Returns whether ODBC Minimum SQL grammar is supported. true



supportsMixedCaseIdentifiers
public boolean supportsMixedCaseIdentifiers()(Code)
Checks if for CREATE TABLE Test(ID INT), getTables returns Test as the table name. false



supportsMixedCaseQuotedIdentifiers
public boolean supportsMixedCaseQuotedIdentifiers()(Code)
Checks if a table created with CREATE TABLE "Test"(ID INT) is a different table than a table created with CREATE TABLE TEST(ID INT). true



supportsMultipleOpenResults
public boolean supportsMultipleOpenResults()(Code)
Does the database support multiple open result sets. true



supportsMultipleResultSets
public boolean supportsMultipleResultSets()(Code)
Returns whether multiple result sets are supported. false



supportsMultipleTransactions
public boolean supportsMultipleTransactions()(Code)
Returns whether multiple transactions (on different connections) are supported. true



supportsNamedParameters
public boolean supportsNamedParameters()(Code)
Does the database support named parameters. false



supportsNonNullableColumns
public boolean supportsNonNullableColumns()(Code)
Returns whether columns with NOT NULL are supported. true



supportsOpenCursorsAcrossCommit
public boolean supportsOpenCursorsAcrossCommit()(Code)
Returns whether open result sets across commits are supported. false



supportsOpenCursorsAcrossRollback
public boolean supportsOpenCursorsAcrossRollback()(Code)
Returns whether open result sets across rollback are supported. false



supportsOpenStatementsAcrossCommit
public boolean supportsOpenStatementsAcrossCommit()(Code)
Returns whether open statements across commit are supported. true



supportsOpenStatementsAcrossRollback
public boolean supportsOpenStatementsAcrossRollback()(Code)
Returns whether open statements across rollback are supported. true



supportsOrderByUnrelated
public boolean supportsOrderByUnrelated()(Code)
Returns whether ORDER BY is supported if the column is not in the SELECT list. true



supportsOuterJoins
public boolean supportsOuterJoins()(Code)
Returns whether outer joins are supported. true



supportsPositionedDelete
public boolean supportsPositionedDelete()(Code)
Returns whether positioned deletes are supported. true



supportsPositionedUpdate
public boolean supportsPositionedUpdate()(Code)
Returns whether positioned updates are supported. true



supportsResultSetConcurrency
public boolean supportsResultSetConcurrency(int type, int concurrency)(Code)
Returns whether a specific result set concurrency is supported. ResultSet.TYPE_SCROLL_SENSITIVE is not supported. true if the type is not ResultSet.TYPE_SCROLL_SENSITIVE



supportsResultSetHoldability
public boolean supportsResultSetHoldability(int holdability)(Code)
Does this database supports a result set holdability.
Parameters:
  holdability - ResultSet.HOLD_CURSORS_OVER_COMMIT orCLOSE_CURSORS_AT_COMMIT true if the holdability is ResultSet.CLOSE_CURSORS_AT_COMMIT



supportsResultSetType
public boolean supportsResultSetType(int type)(Code)
Returns whether a specific result set type is supported. ResultSet.TYPE_SCROLL_SENSITIVE is not supported. true for all types except ResultSet.TYPE_FORWARD_ONLY



supportsSavepoints
public boolean supportsSavepoints()(Code)
Does the database support savepoints. true



supportsSchemasInDataManipulation
public boolean supportsSchemasInDataManipulation()(Code)
Returns whether the schema name in INSERT, UPDATE, DELETE is supported. true



supportsSchemasInIndexDefinitions
public boolean supportsSchemasInIndexDefinitions()(Code)
Returns whether the schema name in CREATE INDEX is supported. true



supportsSchemasInPrivilegeDefinitions
public boolean supportsSchemasInPrivilegeDefinitions()(Code)
Returns whether the schema name in GRANT is supported. true



supportsSchemasInProcedureCalls
public boolean supportsSchemasInProcedureCalls()(Code)
Returns whether the schema name in procedure calls is supported. true



supportsSchemasInTableDefinitions
public boolean supportsSchemasInTableDefinitions()(Code)
Returns whether the schema name in CREATE TABLE is supported. true



supportsSelectForUpdate
public boolean supportsSelectForUpdate()(Code)
Returns whether SELECT ... FOR UPDATE is supported. true



supportsStatementPooling
public boolean supportsStatementPooling()(Code)
Does the database support statement pooling. false



supportsStoredFunctionsUsingCallSyntax
public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException(Code)
Returns whether the database supports calling functions using the call syntax. true



supportsStoredProcedures
public boolean supportsStoredProcedures()(Code)
Returns whether stored procedures are supported. false



supportsSubqueriesInComparisons
public boolean supportsSubqueriesInComparisons()(Code)
Returns whether subqueries (SELECT) in comparisons are supported. true



supportsSubqueriesInExists
public boolean supportsSubqueriesInExists()(Code)
Returns whether SELECT in EXISTS is supported. true



supportsSubqueriesInIns
public boolean supportsSubqueriesInIns()(Code)
Returns whether IN(SELECT...) is supported. true



supportsSubqueriesInQuantifieds
public boolean supportsSubqueriesInQuantifieds()(Code)
Returns whether subqueries in quantified expression are supported. true



supportsTableCorrelationNames
public boolean supportsTableCorrelationNames()(Code)
Returns whether table correlation names (table alias) are supported. true



supportsTransactionIsolationLevel
public boolean supportsTransactionIsolationLevel(int level)(Code)
Returns whether a specific transaction isolation level is supported. true



supportsTransactions
public boolean supportsTransactions()(Code)
Returns whether transactions are supported. true



supportsUnion
public boolean supportsUnion()(Code)
Returns whether UNION SELECT is supported. true



supportsUnionAll
public boolean supportsUnionAll()(Code)
Returns whether UNION ALL SELECT is supported. true



toString
public String toString()(Code)
INTERNAL



updatesAreDetected
public boolean updatesAreDetected(int type)(Code)
Returns whether updates are detected. false



usesLocalFilePerTable
public boolean usesLocalFilePerTable()(Code)
Checks if this database use one file per table. false



usesLocalFiles
public boolean usesLocalFiles()(Code)
Checks if this database store data in local files. true



Fields inherited from org.h2.message.TraceObject
final public static int CALLABLE_STATEMENTCONNECTIONDATABASE_META_DATAPREPARED_STATEMENTRESULT_SETRESULT_SET_META_DATASAVEPOINTSQL_EXCEPTIONSTATEMENTBLOBCLOBPARAMETER_META_DATA(Code)(Java Doc)
final public static int DATA_SOURCEXA_DATA_SOURCEXIDARRAY(Code)(Java Doc)

Methods inherited from org.h2.message.TraceObject
protected boolean debug()(Code)(Java Doc)
protected void debugCode(String text)(Code)(Java Doc)
protected void debugCodeAssign(String className, int type, int id, String value)(Code)(Java Doc)
protected void debugCodeCall(String text)(Code)(Java Doc)
protected void debugCodeCall(String text, long param)(Code)(Java Doc)
protected void debugCodeCall(String text, String param)(Code)(Java Doc)
protected int getNextId(int type)(Code)(Java Doc)
protected Trace getTrace()(Code)(Java Doc)
protected int getTraceId()(Code)(Java Doc)
public String getTraceObjectName()(Code)(Java Doc)
protected boolean info()(Code)(Java Doc)
protected SQLException logAndConvert(Throwable e)(Code)(Java Doc)
protected String quote(String s)(Code)(Java Doc)
protected String quoteArray(String[] s)(Code)(Java Doc)
protected String quoteBigDecimal(BigDecimal x)(Code)(Java Doc)
protected String quoteBytes(byte[] x)(Code)(Java Doc)
protected String quoteDate(java.sql.Date x)(Code)(Java Doc)
protected String quoteIntArray(int[] s)(Code)(Java Doc)
protected String quoteMap(Map map)(Code)(Java Doc)
protected String quoteTime(java.sql.Time x)(Code)(Java Doc)
protected String quoteTimestamp(java.sql.Timestamp x)(Code)(Java Doc)
protected void setTrace(Trace trace, int type, int id)(Code)(Java Doc)
public static String toString(String sql, ObjectArray params)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.