クラス org.objectweb.cjdbc.driver.DatabaseMetaData

org.objectweb.cjdbc.driver.DatabaseMetaDataのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

説明

This Connection class implements a virtual connection that is just used to store the needed information when the real connection will have to be established by the Controller to execute a query.

This code has been largely inspired from the Postgres JDBC driver by Peter T. Mount.

作者:
Emmanuel Cecchet
バージョン:
1.0

DatabaseMetaData.java43 行で定義されています。

Public メソッド

 DatabaseMetaData (Connection conn)
boolean allProceduresAreCallable () throws SQLException
boolean allTablesAreSelectable () throws SQLException
boolean dataDefinitionCausesTransactionCommit () throws SQLException
boolean dataDefinitionIgnoredInTransactions () throws SQLException
boolean deletesAreDetected (int type) throws SQLException
boolean doesMaxRowSizeIncludeBlobs () throws SQLException
java.sql.ResultSet getBestRowIdentifier (String catalog, String schema, String table, int scope, boolean nullable) throws SQLException
java.sql.ResultSet getCatalogs () throws SQLException
String getCatalogSeparator () throws SQLException
String getCatalogTerm () throws SQLException
java.sql.ResultSet getColumns (String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
java.sql.ResultSet getColumnPrivileges (String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
java.sql.Connection getConnection () throws SQLException
java.sql.ResultSet getCrossReference (String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
String getDatabaseProductName () throws SQLException
String getDatabaseProductVersion () throws SQLException
int getDefaultTransactionIsolation () throws SQLException
int getDriverMajorVersion ()
int getDriverMinorVersion ()
String getDriverName () throws SQLException
String getDriverVersion () throws SQLException
java.sql.ResultSet getExportedKeys (String catalog, String schema, String table) throws SQLException
String getExtraNameCharacters () throws SQLException
String getIdentifierQuoteString () throws SQLException
java.sql.ResultSet getImportedKeys (String catalog, String schema, String table) throws SQLException
java.sql.ResultSet getIndexInfo (String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
int getMaxBinaryLiteralLength () throws SQLException
int getMaxCatalogNameLength () throws SQLException
int getMaxCharLiteralLength () throws SQLException
int getMaxColumnNameLength () throws SQLException
int getMaxColumnsInGroupBy () throws SQLException
int getMaxColumnsInIndex () throws SQLException
int getMaxColumnsInOrderBy () throws SQLException
int getMaxColumnsInSelect () throws SQLException
int getMaxColumnsInTable () throws SQLException
int getMaxConnections () throws SQLException
int getMaxCursorNameLength () throws SQLException
int getMaxIndexLength () throws SQLException
int getMaxProcedureNameLength () throws SQLException
int getMaxRowSize () throws SQLException
int getMaxSchemaNameLength () throws SQLException
int getMaxStatementLength () throws SQLException
int getMaxStatements () throws SQLException
int getMaxTableNameLength () throws SQLException
int getMaxTablesInSelect () throws SQLException
int getMaxUserNameLength () throws SQLException
String getNumericFunctions () throws SQLException
java.sql.ResultSet getPrimaryKeys (String catalog, String schema, String table) throws SQLException
java.sql.ResultSet getProcedureColumns (String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
java.sql.ResultSet getProcedures (String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
String getProcedureTerm () throws SQLException
java.sql.ResultSet getSchemas () throws SQLException
String getSchemaTerm () throws SQLException
String getSearchStringEscape () throws SQLException
String getSQLKeywords () throws SQLException
String getStringFunctions () throws SQLException
String getSystemFunctions () throws SQLException
java.sql.ResultSet getTables (String catalog, String schemaPattern, String tableNamePattern, String types[]) throws SQLException
java.sql.ResultSet getTablePrivileges (String catalog, String schemaPattern, String tableNamePattern) throws SQLException
java.sql.ResultSet getTableTypes () throws SQLException
String getTimeDateFunctions () throws SQLException
java.sql.ResultSet getTypeInfo () throws SQLException
java.sql.ResultSet getUDTs (String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
String getURL () throws SQLException
String getUserName () throws SQLException
java.sql.ResultSet getVersionColumns (String catalog, String schema, String table) throws SQLException
boolean insertsAreDetected (int type) throws SQLException
boolean isCatalogAtStart () throws SQLException
boolean isReadOnly () throws SQLException
boolean nullPlusNonNullIsNull () throws SQLException
boolean nullsAreSortedAtEnd () throws SQLException
boolean nullsAreSortedAtStart () throws SQLException
boolean nullsAreSortedHigh () throws SQLException
boolean nullsAreSortedLow () throws SQLException
boolean othersDeletesAreVisible (int type) throws SQLException
boolean othersInsertsAreVisible (int type) throws SQLException
boolean othersUpdatesAreVisible (int type) throws SQLException
boolean ownDeletesAreVisible (int type) throws SQLException
boolean ownInsertsAreVisible (int type) throws SQLException
boolean ownUpdatesAreVisible (int type) throws SQLException
boolean storesLowerCaseIdentifiers () throws SQLException
boolean storesLowerCaseQuotedIdentifiers () throws SQLException
boolean storesMixedCaseIdentifiers () throws SQLException
boolean storesMixedCaseQuotedIdentifiers () throws SQLException
boolean storesUpperCaseIdentifiers () throws SQLException
boolean storesUpperCaseQuotedIdentifiers () throws SQLException
boolean supportsAlterTableWithAddColumn () throws SQLException
boolean supportsAlterTableWithDropColumn () throws SQLException
boolean supportsANSI92EntryLevelSQL () throws SQLException
boolean supportsANSI92FullSQL () throws SQLException
boolean supportsANSI92IntermediateSQL () throws SQLException
boolean supportsBatchUpdates () throws SQLException
boolean supportsCatalogsInDataManipulation () throws SQLException
boolean supportsCatalogsInIndexDefinitions () throws SQLException
boolean supportsCatalogsInPrivilegeDefinitions () throws SQLException
boolean supportsCatalogsInProcedureCalls () throws SQLException
boolean supportsCatalogsInTableDefinitions () throws SQLException
boolean supportsColumnAliasing () throws SQLException
boolean supportsConvert () throws SQLException
boolean supportsConvert (int fromType, int toType) throws SQLException
boolean supportsCoreSQLGrammar () throws SQLException
boolean supportsCorrelatedSubqueries () throws SQLException
boolean supportsDataDefinitionAndDataManipulationTransactions () throws SQLException
boolean supportsDataManipulationTransactionsOnly () throws SQLException
boolean supportsDifferentTableCorrelationNames () throws SQLException
boolean supportsExpressionsInOrderBy () throws SQLException
boolean supportsExtendedSQLGrammar () throws SQLException
boolean supportsFullOuterJoins () throws SQLException
boolean supportsGroupBy () throws SQLException
boolean supportsGroupByBeyondSelect () throws SQLException
boolean supportsGroupByUnrelated () throws SQLException
boolean supportsIntegrityEnhancementFacility () throws SQLException
boolean supportsLikeEscapeClause () throws SQLException
boolean supportsLimitedOuterJoins () throws SQLException
boolean supportsMinimumSQLGrammar () throws SQLException
boolean supportsMixedCaseIdentifiers () throws SQLException
boolean supportsMixedCaseQuotedIdentifiers () throws SQLException
boolean supportsMultipleResultSets () throws SQLException
boolean supportsMultipleTransactions () throws SQLException
boolean supportsNonNullableColumns () throws SQLException
boolean supportsOpenCursorsAcrossCommit () throws SQLException
boolean supportsOpenCursorsAcrossRollback () throws SQLException
boolean supportsOpenStatementsAcrossCommit () throws SQLException
boolean supportsOpenStatementsAcrossRollback () throws SQLException
boolean supportsOrderByUnrelated () throws SQLException
boolean supportsOuterJoins () throws SQLException
boolean supportsPositionedDelete () throws SQLException
boolean supportsPositionedUpdate () throws SQLException
boolean supportsResultSetConcurrency (int type, int concurrency) throws SQLException
boolean supportsResultSetType (int type) throws SQLException
boolean supportsSchemasInDataManipulation () throws SQLException
boolean supportsSchemasInIndexDefinitions () throws SQLException
boolean supportsSchemasInPrivilegeDefinitions () throws SQLException
boolean supportsSchemasInProcedureCalls () throws SQLException
boolean supportsSchemasInTableDefinitions () throws SQLException
boolean supportsSelectForUpdate () throws SQLException
boolean supportsStoredProcedures () throws SQLException
boolean supportsSubqueriesInComparisons () throws SQLException
boolean supportsSubqueriesInExists () throws SQLException
boolean supportsSubqueriesInIns () throws SQLException
boolean supportsSubqueriesInQuantifieds () throws SQLException
boolean supportsTableCorrelationNames () throws SQLException
boolean supportsTransactionIsolationLevel (int level) throws SQLException
boolean supportsTransactions () throws SQLException
boolean supportsUnion () throws SQLException
boolean supportsUnionAll () throws SQLException
boolean updatesAreDetected (int type) throws SQLException
boolean usesLocalFilePerTable () throws SQLException
boolean usesLocalFiles () throws SQLException
boolean supportsSavepoints () throws SQLException
boolean supportsNamedParameters () throws SQLException
boolean supportsMultipleOpenResults () throws SQLException
boolean supportsGetGeneratedKeys () throws SQLException
java.sql.ResultSet getSuperTypes (String catalog, String schemaPattern, String typeNamePattern) throws SQLException
java.sql.ResultSet getSuperTables (String catalog, String schemaPattern, String tableNamePattern) throws SQLException
java.sql.ResultSet getAttributes (String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException
boolean supportsResultSetHoldability (int holdability) throws SQLException
int getResultSetHoldability () throws SQLException
int getDatabaseMajorVersion () throws SQLException
int getDatabaseMinorVersion () throws SQLException
int getJDBCMajorVersion () throws SQLException
int getJDBCMinorVersion () throws SQLException
int getSQLStateType () throws SQLException
boolean locatorsUpdateCopy () throws SQLException
boolean supportsStatementPooling () throws SQLException

Private 変数

Connection connection


コンストラクタとデストラクタ

org.objectweb.cjdbc.driver.DatabaseMetaData.DatabaseMetaData Connection  conn  ) 
 

Creates a new DatabaseMetaData instance.

引数:
conn a Connection value
DatabaseMetaData.java53 行で定義されています。
00054 { 00055 this.connection = conn; 00056 }


メソッド

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.allProceduresAreCallable  )  throws SQLException
 

Can all the procedures returned by getProcedures be called by the current user?

戻り値:
true but we don't support catalogs ...
例外:
SQLException if a database access error occurs
DatabaseMetaData.java65 行で定義されています。
00066 { 00067 return true; 00068 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.allTablesAreSelectable  )  throws SQLException
 

Can all the tables returned by getTable be SELECTed by the current user?

戻り値:
true but we don't support catalogs ...
例外:
SQLException if a database access error occurs
DatabaseMetaData.java77 行で定義されています。
00078 { 00079 return true; 00080 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.dataDefinitionCausesTransactionCommit  )  throws SQLException
 

Does a data definition statement within a transaction force the transaction to commit? I think this means something like:

  CREATE TABLE T (A INT); INSERT INTO T (A) VALUES (2); BEGIN; UPDATE T SET A = A + 1; CREATE TABLE X (A INT); SELECT A FROM T INTO X; COMMIT;
 

does the CREATE TABLE call cause a commit? The answer is no.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java97 行で定義されています。
00098 { 00099 return false; 00100 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.dataDefinitionIgnoredInTransactions  )  throws SQLException
 

Is a data definition statement within a transaction ignored? It seems to be (from experiment in previous method).

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java109 行で定義されています。
00110 { 00111 return true; 00112 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.deletesAreDetected int  type  )  throws SQLException
 

C-JDBC does NOT support deleted rows.

引数:
type ignored
戻り値:
false
例外:
SQLException if an error occurs
DatabaseMetaData.java121 行で定義されています。
00122 { 00123 return false; 00124 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.doesMaxRowSizeIncludeBlobs  )  throws SQLException
 

Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs? We don't handle blobs yet.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java133 行で定義されています。
00134 { 00135 return false; 00136 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getAttributes String  catalog,
String  schemaPattern,
String  typeNamePattern,
String  attributeNamePattern
throws SQLException
 

Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog.

Descriptions are returned only for attributes of UDTs matching the catalog, schema, type, and attribute name criteria. They are ordered by TYPE_SCHEM, TYPE_NAME and ORDINAL_POSITION. This description does not contain inherited attributes.

The ResultSet object that is returned has the following columns:

  1. TYPE_CAT String => type catalog (may be null)
  2. TYPE_SCHEM String => type schema (may be null)
  3. TYPE_NAME String => type name
  4. ATTR_NAME String => attribute name
  5. DATA_TYPE int => attribute type SQL type from java.sql.Types
  6. ATTR_TYPE_NAME String => Data source dependent type name. For a UDT, the type name is fully qualified. For a REF, the type name is fully qualified and represents the target type of the reference type.
  7. ATTR_SIZE int => column size. For char or date types this is the maximum number of characters; for numeric or decimal types this is precision.
  8. DECIMAL_DIGITS int => the number of fractional digits
  9. NUM_PREC_RADIX int => Radix (typically either 10 or 2)
  10. NULLABLE int => whether NULL is allowed
    • attributeNoNulls - might not allow NULL values
    • attributeNullable - definitely allows NULL values
    • attributeNullableUnknown - nullability unknown
  11. REMARKS String => comment describing column (may be null)
  12. ATTR_DEF String => default value (may be null)
  13. SQL_DATA_TYPE int => unused
  14. SQL_DATETIME_SUB int => unused
  15. CHAR_OCTET_LENGTH int => for char types the maximum number of bytes in the column
  16. ORDINAL_POSITION int => index of column in table (starting at 1)
  17. IS_NULLABLE String => "NO" means column definitely does not allow NULL values; "YES" means the column might allow NULL values. An empty string means unknown.
  18. SCOPE_CATALOG String => catalog of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
  19. SCOPE_SCHEMA String => schema of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
  20. SCOPE_TABLE String => table name that is the scope of a reference attribute (null if the DATA_TYPE isn't REF)
  21. SOURCE_DATA_TYPE short => source type of a distinct type or user-generated Ref type,SQL type from java.sql.Types (null if DATA_TYPE isn't DISTINCT or user-generated REF)

引数:
catalog a catalog name; must match the catalog name as it is stored in the database; "" retrieves those without a catalog; null means that the catalog name should not be used to narrow the search
schemaPattern a schema name pattern; must match the schema name as it is stored in the database; "" retrieves those without a schema; null means that the schema name should not be used to narrow the search
typeNamePattern a type name pattern; must match the type name as it is stored in the database
attributeNamePattern an attribute name pattern; must match the attribute name as it is declared in the database
戻り値:
a ResultSet object in which each row is an attribute description
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2186 行で定義されています。
02188 { 02189 throw new NotImplementedException("getAttributes"); 02190 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getBestRowIdentifier String  catalog,
String  schema,
String  table,
int  scope,
boolean  nullable
throws SQLException
 

This method is currently not supported and returns null. It could be forwarded to the Controller but it is not clear that the result would be the same for heterogeneous databases.

引数:
catalog a catalog name; "" retrieves those without a catalog
schema a schema name; "" retrieves those without a schema
table a table name
scope the scope of interest; use same values as SCOPE
nullable include columns that are nullable?
戻り値:
ResultSet each row is a column description
例外:
SQLException if an error occurs
DatabaseMetaData.java151 行で定義されています。
00153 { 00154 return null; 00155 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getCatalogs  )  throws SQLException
 

Return a list of available catalogs

戻り値:
ResultSet, each row is a name of catalog.
例外:
SQLException if an error occurs
参照:
java.sql.DatabaseMetaData#getCatalogs()
DatabaseMetaData.java164 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getCatalogs().

00165 { 00166 return connection.getCatalogs(); 00167 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getCatalogSeparator  )  throws SQLException
 

Returns the catalog separator.

戻り値:
"."
例外:
SQLException if an error occurs
DatabaseMetaData.java175 行で定義されています。
00176 { 00177 return "."; 00178 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getCatalogTerm  )  throws SQLException
 

What is the database vendor's preferred term for "schema" - well, we do not provide support for schemas, so lets just use that term.

戻り値:
the vendor term
例外:
SQLException if an error occurs
DatabaseMetaData.java187 行で定義されています。
00188 { 00189 return "catalog"; 00190 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getColumnPrivileges String  catalog,
String  schemaPattern,
String  tableNamePattern,
String  columnNamePattern
throws SQLException
 

Feature not yet supported by C-JDBC.

引数:
catalog a catalog name; "" retrieves those without a catalog
schemaPattern a schema name pattern; "" retrieves those without a schema
tableNamePattern a table name pattern
columnNamePattern a column name pattern
戻り値:
null
例外:
SQLException if an error occurs
参照:
getSearchStringEscape
DatabaseMetaData.java221 行で定義されています。
00224 { 00225 return null; 00226 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getColumns String  catalog,
String  schemaPattern,
String  tableNamePattern,
String  columnNamePattern
throws SQLException
 

引数:
catalog a catalog name; "" retrieves those without a catalog
schemaPattern a schema name pattern; "" retrieves those without a schema
tableNamePattern a table name pattern
columnNamePattern a column name pattern
戻り値:
null
例外:
SQLException if an error occurs
参照:
getSearchStringEscape
DatabaseMetaData.java202 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getColumns().

00204 { 00205 return connection.getColumns(catalog, schemaPattern, tableNamePattern, 00206 columnNamePattern); 00207 }

java.sql.Connection org.objectweb.cjdbc.driver.DatabaseMetaData.getConnection  )  throws SQLException
 

Retrieves the Connection that produced this DatabaseMetaData.

戻り値:
the Connection object
例外:
SQLException if an error occurs
DatabaseMetaData.java235 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection.

00236 { 00237 return connection; 00238 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getCrossReference String  primaryCatalog,
String  primarySchema,
String  primaryTable,
String  foreignCatalog,
String  foreignSchema,
String  foreignTable
throws SQLException
 

Feature not yet supported by C-JDBC

引数:
primaryCatalog a String value
primarySchema a String value
primaryTable a String value
foreignCatalog a String value
foreignSchema a String value
foreignTable a String value
戻り値:
null
例外:
SQLException if an error occurs
参照:
getImportedKeys
DatabaseMetaData.java253 行で定義されています。
00256 { 00257 return null; 00258 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseMajorVersion  )  throws SQLException
 

Retrieves the major version number of the underlying database.

This is not yet supported by C-JDBC.

戻り値:
the underlying database's major version
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2234 行で定義されています。
02235 { 02236 throw new NotImplementedException("getDatabaseMajorVersion"); 02237 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseMinorVersion  )  throws SQLException
 

Retrieves the minor version number of the underlying database.

This is not yet supported by C-JDBC.

戻り値:
underlying database's minor version
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2248 行で定義されています。
02249 { 02250 throw new NotImplementedException("getDatabaseMinorVersion"); 02251 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseProductName  )  throws SQLException
 

We return a comma separated list of database engine names connected to the controller. A name appears only once regardless of the number of instances of this particular db engine. If no database product name is provided by the backend drivers, default is to return "C-JDBC Controller".

戻り値:
comma separated list of database product names
例外:
SQLException if a database access error occurs
DatabaseMetaData.java269 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getDatabaseProductName().

00270 { 00271 return connection.getDatabaseProductName(); 00272 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseProductVersion  )  throws SQLException
 

What is the version of this database product.

戻り値:
the C-JDBC driver version
例外:
SQLException if an error occurs
DatabaseMetaData.java280 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getControllerVersionNumber().

00281 { 00282 return connection.getControllerVersionNumber(); 00283 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getDefaultTransactionIsolation  )  throws SQLException
 

What is the database's default transaction isolation level? We do not support this, so assume it's TRANSACTION_READ_COMMITTED.

戻り値:
the default isolation level
例外:
SQLException if a database access error occurs
参照:
Connection
DatabaseMetaData.java293 行で定義されています。
00294 { 00295 return Connection.TRANSACTION_READ_COMMITTED; 00296 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getDriverMajorVersion  ) 
 

What is this JDBC driver's major version number?

戻り値:
the JDBC driver major version
DatabaseMetaData.java303 行で定義されています。
00304 { 00305 return Driver.MAJOR_VERSION; 00306 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getDriverMinorVersion  ) 
 

What is this JDBC driver's minor version number?

戻り値:
the JDBC driver minor version
DatabaseMetaData.java313 行で定義されています。
00314 { 00315 return Driver.MINOR_VERSION; 00316 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getDriverName  )  throws SQLException
 

What is the name of this JDBC driver?

戻り値:
the JDBC driver name
例外:
SQLException why?
DatabaseMetaData.java324 行で定義されています。
00325 { 00326 return "C-JDBC Generic Driver"; 00327 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getDriverVersion  )  throws SQLException
 

What is the version string of this JDBC driver?

戻り値:
the JDBC driver name.
例外:
SQLException why?
DatabaseMetaData.java335 行で定義されています。
00336 { 00337 return Constants.VERSION; 00338 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getExportedKeys String  catalog,
String  schema,
String  table
throws SQLException
 

Feature not yet supported by C-JDBC.

引数:
catalog a catalog name; "" retrieves those without a catalog
schema a schema name pattern; "" retrieves those without a schema
table a table name
戻り値:
null
例外:
SQLException why?
参照:
getExportedKeys
DatabaseMetaData.java350 行で定義されています。
00352 { 00353 return null; 00354 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getExtraNameCharacters  )  throws SQLException
 

Gets all the "extra" characters that can be used in unquoted identifier names (those beyond a-zA-Z0-9 and _).

For portability reasons, we assume that no extra character is allowed.

戻り値:
a string containing the extra characters
例外:
SQLException if a database access error occurs
DatabaseMetaData.java365 行で定義されています。
00366 { 00367 return ""; 00368 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getIdentifierQuoteString  )  throws SQLException
 

What is the string used to quote SQL identifiers? This returns a space if identifier quoting isn't supported. A JDBC Compliant driver will always use a double quote character.

If an SQL identifier is a table name, column name, etc. then we do not support it.

戻り値:
a space
例外:
SQLException if a database access error occurs
DatabaseMetaData.java381 行で定義されています。
00382 { 00383 return " "; 00384 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getImportedKeys String  catalog,
String  schema,
String  table
throws SQLException
 

Feature not yet supported by C-JDBC.

引数:
catalog a catalog name; "" retrieves those without a catalog
schema a schema name pattern; "" retrieves those without a schema
table a table name
戻り値:
null
例外:
SQLException if a database access error occurs
参照:
getExportedKeys
DatabaseMetaData.java396 行で定義されています。
00398 { 00399 return null; 00400 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getIndexInfo String  catalog,
String  schema,
String  table,
boolean  unique,
boolean  approximate
throws SQLException
 

Feature not yet supported by C-JDBC.

引数:
catalog a catalog name; "" retrieves those without a catalog
schema a schema name pattern; "" retrieves those without a schema
table a table name
unique when true, return only indices for unique values; when false, return indices regardless of whether unique or not
approximate when true, result is allowed to reflect approximate or out of data values; when false, results are requested to be accurate
戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java417 行で定義されています。
00419 { 00420 return null; 00421 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getJDBCMajorVersion  )  throws SQLException
 

Retrieves the major JDBC version number for this driver.

戻り値:
JDBC version major number
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2260 行で定義されています。
02261 { 02262 return Driver.MAJOR_VERSION; 02263 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getJDBCMinorVersion  )  throws SQLException
 

Retrieves the minor JDBC version number for this driver.

戻り値:
JDBC version minor number
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2272 行で定義されています。
02273 { 02274 return Driver.MINOR_VERSION; 02275 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxBinaryLiteralLength  )  throws SQLException
 

How many hex characters can you have in an inline binary literal. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java430 行で定義されています。
00431 { 00432 return 0; 00433 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxCatalogNameLength  )  throws SQLException
 

Maximum number of characters in a catalog name. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java442 行で定義されています。
00443 { 00444 return 0; 00445 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxCharLiteralLength  )  throws SQLException
 

Maximum length for a character literal. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java454 行で定義されています。
00455 { 00456 return 0; 00457 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxColumnNameLength  )  throws SQLException
 

Maximum length for a column name. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java466 行で定義されています。
00467 { 00468 return 0; 00469 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxColumnsInGroupBy  )  throws SQLException
 

Maximum number of columns in a "GROUP BY" clause? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java478 行で定義されています。
00479 { 00480 return 0; 00481 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxColumnsInIndex  )  throws SQLException
 

Maximum number of columns allowed in an index? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java490 行で定義されています。
00491 { 00492 return 0; 00493 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxColumnsInOrderBy  )  throws SQLException
 

Maximum number of columns in an "ORDER BY clause? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java502 行で定義されています。
00503 { 00504 return 0; 00505 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxColumnsInSelect  )  throws SQLException
 

Maximum number of columns in a "SELECT" list? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java514 行で定義されています。
00515 { 00516 return 0; 00517 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxColumnsInTable  )  throws SQLException
 

Maximum number of columns in a table? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java526 行で定義されています。
00527 { 00528 return 0; 00529 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxConnections  )  throws SQLException
 

Maximum number of connections to the database (virtually no limit since these are virtual connections to the Controller). The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java539 行で定義されています。
00540 { 00541 return 0; 00542 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxCursorNameLength  )  throws SQLException
 

Maximum cursor name length. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java550 行で定義されています。
00551 { 00552 return 0; 00553 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxIndexLength  )  throws SQLException
 

Maximum length of an index (in bytes)? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java562 行で定義されています。
00563 { 00564 return 0; 00565 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxProcedureNameLength  )  throws SQLException
 

Maximum length of a procedure name? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java574 行で定義されています。
00575 { 00576 return 0; 00577 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxRowSize  )  throws SQLException
 

Maximum length of a single row? (not including blobs). The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java586 行で定義されています。
00587 { 00588 return 0; 00589 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxSchemaNameLength  )  throws SQLException
 

Maximum length of a schema name. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java598 行で定義されています。
00599 { 00600 return 0; 00601 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxStatementLength  )  throws SQLException
 

Maximum length of a SQL statement? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java610 行で定義されています。
00611 { 00612 return 0; 00613 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxStatements  )  throws SQLException
 

How many active statements can we have open at one time to this database? Basically, since each Statement downloads the results as the query is executed, we can have many. The spec says 0 should be returned if no limit or unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java624 行で定義されています。
00625 { 00626 return 0; 00627 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxTableNameLength  )  throws SQLException
 

Maximum length of a table name? The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java636 行で定義されています。
00637 { 00638 return 0; 00639 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxTablesInSelect  )  throws SQLException
 

Maximum number of tables that can be specified in a SELECT. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java648 行で定義されています。
00649 { 00650 return 0; 00651 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getMaxUserNameLength  )  throws SQLException
 

Maximum length of a user name. The spec says 0 should be returned if unknown.

戻り値:
0
例外:
SQLException if a database access error occurs
DatabaseMetaData.java660 行で定義されています。
00661 { 00662 return 0; 00663 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getNumericFunctions  )  throws SQLException
 

Name of Open Group CLI is not supported.

戻り値:
null
例外:
SQLException never
DatabaseMetaData.java671 行で定義されています。
00672 { 00673 return null; 00674 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getPrimaryKeys String  catalog,
String  schema,
String  table
throws SQLException
 

引数:
catalog a catalog name; "" retrieves those without a catalog
schema a schema name pattern; "" retrieves those without a schema
table a table name
戻り値:
null
例外:
SQLException if a database-access error occurs
DatabaseMetaData.java683 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getPrimaryKeys().

00685 { 00686 return connection.getPrimaryKeys(catalog, schema, table); 00687 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedureColumns String  catalog,
String  schemaPattern,
String  procedureNamePattern,
String  columnNamePattern
throws SQLException
 

引数:
catalog This is ignored in org.postgresql, advise this is set to null
schemaPattern This is ignored in org.postgresql, advise this is set to null
procedureNamePattern a procedure name pattern
columnNamePattern a column name pattern
戻り値:
null
例外:
SQLException if a database-access error occurs
参照:
getSearchStringEscape
DatabaseMetaData.java700 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getProcedureColumns().

00703 { 00704 return connection.getProcedureColumns(catalog, schemaPattern, 00705 procedureNamePattern, columnNamePattern); 00706 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedures String  catalog,
String  schemaPattern,
String  procedureNamePattern
throws SQLException
 

引数:
catalog - a catalog name; "" retrieves those without a * catalog; null means drop catalog name from criteria
schemaPattern - a schema name pattern; "" retrieves those * without a schema - we ignore this parameter
procedureNamePattern - a procedure name pattern
戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java717 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getProcedures().

00719 { 00720 return connection.getProcedures(catalog, schemaPattern, 00721 procedureNamePattern); 00722 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedureTerm  )  throws SQLException
 

What is the database vendor's preferred term for "procedure" - I kind of like "procedure" myself.

戻り値:
the vendor term
例外:
SQLException if a database access error occurs
DatabaseMetaData.java731 行で定義されています。
00732 { 00733 return "procedure"; 00734 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getResultSetHoldability  )  throws SQLException
 

Retrieves the default holdability of this ResultSet object.

戻り値:
the default holdability; either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2220 行で定義されています。
02221 { 02222 throw new NotImplementedException("getResultSetHoldability"); 02223 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getSchemas  )  throws SQLException
 

参照:
java.sql.DatabaseMetaData#getSchemas()
DatabaseMetaData.java739 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getSchemas().

00740 { 00741 return connection.getSchemas(); 00742 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getSchemaTerm  )  throws SQLException
 

What is the database vendor's preferred term for "schema" - well, we do not provide support for schemas, so lets just use that term.

戻り値:
the vendor term
例外:
SQLException if a database access error occurs
DatabaseMetaData.java751 行で定義されています。
00752 { 00753 return "schema"; 00754 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getSearchStringEscape  )  throws SQLException
 

This is the string that can be used to escape '_' and '%' in a search string pattern style catalog search parameters. We assume that '\' will work for all databases ...

戻り値:
the string used to escape wildcard characters
例外:
SQLException if a database access error occurs
DatabaseMetaData.java764 行で定義されています。
00765 { 00766 return "\\"; 00767 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getSQLKeywords  )  throws SQLException
 

Get a comma separated list of all a database's SQL keywords that are NOT also SQL92 keywords. We assume that we don't use any non-SQL92 keywords.

戻り値:
an empty string
例外:
SQLException if a database access error occurs
DatabaseMetaData.java776 行で定義されています。
00777 { 00778 return ""; 00779 }

int org.objectweb.cjdbc.driver.DatabaseMetaData.getSQLStateType  )  throws SQLException
 

Indicates whether the SQLSTATE returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL99.

戻り値:
the type of SQLSTATE; one of: sqlStateXOpen or sqlStateSQL99
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2286 行で定義されています。
02287 { 02288 throw new NotImplementedException("getSQLStateType"); 02289 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getStringFunctions  )  throws SQLException
 

Feature not yet supported by C-JDBC.

戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java787 行で定義されています。
00788 { 00789 return null; 00790 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getSuperTables String  catalog,
String  schemaPattern,
String  tableNamePattern
throws SQLException
 

Retrieves a description of the table hierarchies defined in a particular schema in this database.

Only supertable information for tables matching the catalog, schema and table name are returned. The table name parameter may be a fully- qualified name, in which case, the catalog and schemaPattern parameters are ignored. If a table does not have a super table, it is not listed here. Supertables have to be defined in the same catalog and schema as the sub tables. Therefore, the type description does not need to include this information for the supertable.

Each type description has the following columns:

  1. TABLE_CAT String => the type's catalog (may be null)
  2. TABLE_SCHEM String => type's schema (may be null)
  3. TABLE_NAME String => type name
  4. SUPERTABLE_NAME String => the direct super type's name

Note: If the driver does not support type hierarchies, an empty result set is returned.

引数:
catalog a catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria
schemaPattern a schema name pattern; "" retrieves those without a schema
tableNamePattern a table name pattern; may be a fully-qualified name
戻り値:
a ResultSet object in which each row is a type description
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2109 行で定義されています。
02111 { 02112 throw new NotImplementedException("getSuperTables"); 02113 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getSuperTypes String  catalog,
String  schemaPattern,
String  typeNamePattern
throws SQLException
 

Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. Only the immediate super type/ sub type relationship is modeled.

Only supertype information for UDTs matching the catalog, schema, and type name is returned. The type name parameter may be a fully-qualified name. When the UDT name supplied is a fully-qualified name, the catalog and schemaPattern parameters are ignored.

If a UDT does not have a direct super type, it is not listed here. A row of the ResultSet object returned by this method describes the designated UDT and a direct supertype. A row has the following columns:

  1. TYPE_CAT String => the UDT's catalog (may be null)
  2. TYPE_SCHEM String => UDT's schema (may be null)
  3. TYPE_NAME String => type name of the UDT
  4. SUPERTYPE_CAT String => the direct super type's catalog (may be null)
  5. SUPERTYPE_SCHEM String => the direct super type's schema (may be null)
  6. SUPERTYPE_NAME String => the direct super type's name

Note: If the driver does not support type hierarchies, an empty result set is returned.

引数:
catalog a catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria
schemaPattern a schema name pattern; "" retrieves those without a schema
typeNamePattern a UDT name pattern; may be a fully-qualified name
戻り値:
a ResultSet object in which a row gives information about the designated UDT
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2067 行で定義されています。
02069 { 02070 throw new NotImplementedException("getSuperTypes"); 02071 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getSystemFunctions  )  throws SQLException
 

Feature not yet supported by C-JDBC.

戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java798 行で定義されています。
00799 { 00800 return null; 00801 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getTablePrivileges String  catalog,
String  schemaPattern,
String  tableNamePattern
throws SQLException
 

Gets a description of the access rights for each table available in a catalog. Note that a table privilege applies to one or more columns in the table. It would be wrong to assume that this priviledge applies to all columns (this may be true for some systems but is not true for all.) Only privileges matching the schema and table name criteria are returned. They are ordered by TABLE_SCHEM, TABLE_NAME, and PRIVILEGE.

引数:
catalog a catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria
schemaPattern a schema name pattern; "" retrieves those without a schema
tableNamePattern a table name pattern
戻り値:
ResultSet each row is a table privilege description
例外:
SQLException if a database access error occurs
DatabaseMetaData.java840 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getTablePrivileges().

00842 { 00843 return connection.getTablePrivileges(catalog, schemaPattern, 00844 tableNamePattern); 00845 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getTables String  catalog,
String  schemaPattern,
String  tableNamePattern,
String  types[]
throws SQLException
 

Gets a description of the available tables.

引数:
catalog a catalog name; this is ignored, and should be set to null
schemaPattern a schema name pattern; this is ignored, and should be set to null
tableNamePattern a table name pattern. For all tables this should be "%"
types a list of table types to include; null returns all types
戻り値:
null
例外:
SQLException if a database-access error occurs.
DatabaseMetaData.java817 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getTables().

00819 { 00820 return connection 00821 .getTables(catalog, schemaPattern, tableNamePattern, types); 00822 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getTableTypes  )  throws SQLException
 

Gets the table types available in this database. The results are ordered by table type.

戻り値:
ResultSet each row has a single String column that is a catalog name
例外:
SQLException if a database error occurs
DatabaseMetaData.java855 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getTableTypes().

00856 { 00857 return connection.getTableTypes(); 00858 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getTimeDateFunctions  )  throws SQLException
 

Feature not yet supported by C-JDBC.

戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java866 行で定義されています。
00867 { 00868 return null; 00869 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getTypeInfo  )  throws SQLException
 

Feature not yet supported by C-JDBC.

戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java877 行で定義されています。
00878 { 00879 return null; 00880 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getUDTs String  catalog,
String  schemaPattern,
String  typeNamePattern,
int[]  types
throws SQLException
 

Feature not yet supported by C-JDBC.

引数:
catalog a String value
schemaPattern a String value
typeNamePattern a String value
types an int[] value
戻り値:
null
例外:
SQLException if an error occurs
DatabaseMetaData.java892 行で定義されています。
00894 { 00895 return null; 00896 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getURL  )  throws SQLException
 

What is the URL for this database?

戻り値:
the url or null if it cannott be generated
例外:
SQLException if a database access error occurs
DatabaseMetaData.java904 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getURL().

00905 { 00906 return connection.getURL(); 00907 }

String org.objectweb.cjdbc.driver.DatabaseMetaData.getUserName  )  throws SQLException
 

What is our user name as known to the database?

戻り値:
our database user name
例外:
SQLException if a database access error occurs
DatabaseMetaData.java915 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.getUserName().

00916 { 00917 return connection.getUserName(); 00918 }

java.sql.ResultSet org.objectweb.cjdbc.driver.DatabaseMetaData.getVersionColumns String  catalog,
String  schema,
String  table
throws SQLException
 

Feature not yet supported by C-JDBC.

引数:
catalog a catalog name; "" retrieves those without a catalog
schema a schema name; "" retrieves those without a schema
table a table name
戻り値:
null
例外:
SQLException if a database access error occurs
DatabaseMetaData.java929 行で定義されています。
00931 { 00932 return null; 00933 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.insertsAreDetected int  type  )  throws SQLException
 

We do not support row insert in ResultSets.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java942 行で定義されています。
00943 { 00944 return false; 00945 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.isCatalogAtStart  )  throws SQLException
 

Does a catalog appear at the start of a qualified table name? (Otherwise it appears at the end).

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java954 行で定義されています。
00955 { 00956 return false; 00957 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.isReadOnly  )  throws SQLException
 

Is the database in read-only mode?

戻り値:
true if so
例外:
SQLException if a database access error occurs
DatabaseMetaData.java965 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DatabaseMetaData.connection, と org.objectweb.cjdbc.driver.Connection.isReadOnly().

00966 { 00967 return connection.isReadOnly(); 00968 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.locatorsUpdateCopy  )  throws SQLException
 

Indicates whether updates made to a LOB are made on a copy or directly to the LOB.

戻り値:
true if updates are made to a copy of the LOB; false if updates are made directly to the LOB
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2300 行で定義されています。
02301 { 02302 return true; // To be verified 02303 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.nullPlusNonNullIsNull  )  throws SQLException
 

Are concatenations between NULL and non-NULL values NULL? A JDBC Compliant driver always returns true.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java977 行で定義されています。
00978 { 00979 return true; 00980 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.nullsAreSortedAtEnd  )  throws SQLException
 

Are NULL values sorted at the end regardless of sort order?

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java988 行で定義されています。
00989 { 00990 return true; 00991 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.nullsAreSortedAtStart  )  throws SQLException
 

Are NULL values sorted at the start regardless of sort order?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java999 行で定義されています。
01000 { 01001 return false; 01002 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.nullsAreSortedHigh  )  throws SQLException
 

Are NULL values sorted high?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1010 行で定義されています。
01011 { 01012 return false; 01013 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.nullsAreSortedLow  )  throws SQLException
 

Are NULL values sorted low?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1021 行で定義されています。
01022 { 01023 return false; 01024 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.othersDeletesAreVisible int  type  )  throws SQLException
 

C-JDBC does not support deletes.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1033 行で定義されています。
01034 { 01035 return false; 01036 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.othersInsertsAreVisible int  type  )  throws SQLException
 

C-JDBC does not support inserts.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1045 行で定義されています。
01046 { 01047 return false; 01048 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.othersUpdatesAreVisible int  type  )  throws SQLException
 

C-JDBC does not support updates.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1057 行で定義されています。
01058 { 01059 return false; 01060 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.ownDeletesAreVisible int  type  )  throws SQLException
 

C-JDBC does not support deletes.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1069 行で定義されています。
01070 { 01071 return false; 01072 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.ownInsertsAreVisible int  type  )  throws SQLException
 

C-JDBC does not support inserts.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1081 行で定義されています。
01082 { 01083 return false; 01084 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.ownUpdatesAreVisible int  type  )  throws SQLException
 

C-JDBC does not support updates.

引数:
type ignored
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1093 行で定義されています。
01094 { 01095 return false; 01096 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.storesLowerCaseIdentifiers  )  throws SQLException
 

Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in lower case?

戻り値:
true
例外:
SQLException if an error occurs
DatabaseMetaData.java1105 行で定義されています。
01106 { 01107 return true; 01108 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.storesLowerCaseQuotedIdentifiers  )  throws SQLException
 

Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower case?

戻り値:
false
例外:
SQLException if an error occurs
DatabaseMetaData.java1117 行で定義されています。
01118 { 01119 return false; 01120 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.storesMixedCaseIdentifiers  )  throws SQLException
 

Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mixed case?

戻り値:
true if so
例外:
SQLException if an error occurs
DatabaseMetaData.java1129 行で定義されています。
01130 { 01131 return false; 01132 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.storesMixedCaseQuotedIdentifiers  )  throws SQLException
 

Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed case?

戻り値:
false
例外:
SQLException if an error occurs
DatabaseMetaData.java1141 行で定義されています。
01142 { 01143 return false; 01144 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.storesUpperCaseIdentifiers  )  throws SQLException
 

Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upper case?

戻り値:
false
例外:
SQLException if an error occurs
DatabaseMetaData.java1153 行で定義されています。
01154 { 01155 return false; 01156 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.storesUpperCaseQuotedIdentifiers  )  throws SQLException
 

Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper case?

戻り値:
false
例外:
SQLException if an error occurs
DatabaseMetaData.java1165 行で定義されています。
01166 { 01167 return false; 01168 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsAlterTableWithAddColumn  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1177 行で定義されています。
01178 { 01179 return false; 01180 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsAlterTableWithDropColumn  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1189 行で定義されています。
01190 { 01191 return false; 01192 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsANSI92EntryLevelSQL  )  throws SQLException
 

Does this driver support the ANSI-92 entry level SQL grammar? All JDBC Compliant drivers must return true. I think we have to support outer joins for this to be true.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1202 行で定義されています。
01203 { 01204 return false; 01205 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsANSI92FullSQL  )  throws SQLException
 

Does this driver support the ANSI-92 full SQL grammar?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1213 行で定義されています。
01214 { 01215 return false; 01216 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsANSI92IntermediateSQL  )  throws SQLException
 

Does this driver support the ANSI-92 intermediate level SQL grammar? Anyone who does not support Entry level cannot support Intermediate level.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1225 行で定義されています。
01226 { 01227 return false; 01228 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsBatchUpdates  )  throws SQLException
 

Does this driver support batch updates ? Yes, since 1.0a5.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1236 行で定義されています。
01237 { 01238 return true; 01239 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCatalogsInDataManipulation  )  throws SQLException
 

Can a catalog name be used in a data manipulation statement?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1247 行で定義されています。
01248 { 01249 return false; 01250 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCatalogsInIndexDefinitions  )  throws SQLException
 

Can a catalog name be used in an index definition?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1258 行で定義されています。
01259 { 01260 return false; 01261 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCatalogsInPrivilegeDefinitions  )  throws SQLException
 

Can a catalog name be used in a privilege definition statement?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1269 行で定義されています。
01270 { 01271 return false; 01272 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCatalogsInProcedureCalls  )  throws SQLException
 

Can a catalog name be used in a procedure call statement?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1280 行で定義されています。
01281 { 01282 return false; 01283 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCatalogsInTableDefinitions  )  throws SQLException
 

Can a catalog name be used in a table definition statement?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1291 行で定義されています。
01292 { 01293 return false; 01294 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsColumnAliasing  )  throws SQLException
 

Is column aliasing supported?

If so, the SQL AS clause can be used to provide names for computed columns or to provide alias names for columns as required. A JDBC Compliant driver always returns true.

e.g.

  select count(C) as C_COUNT from T group by C;


should return a column named as C_COUNT instead of count(C)

戻り値:
true if so
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1314 行で定義されています。
01315 { 01316 return true; 01317 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsConvert int  fromType,
int  toType
throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

引数:
fromType an int value
toType an int value
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1340 行で定義されています。
01341 { 01342 return false; 01343 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsConvert  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1326 行で定義されています。
01327 { 01328 return false; 01329 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCoreSQLGrammar  )  throws SQLException
 

Does this driver support the Core ODBC SQL grammar. We need SQL-92 conformance for this.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1352 行で定義されています。
01353 { 01354 return false; 01355 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsCorrelatedSubqueries  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1364 行で定義されています。
01365 { 01366 return false; 01367 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsDataDefinitionAndDataManipulationTransactions  )  throws SQLException
 

Are both data definition and data manipulation transactions supported? In Postgres we could not do a CREATE TABLE within a transaction, so I am assuming that we don't.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1377 行で定義されています。
01379 { 01380 return false; 01381 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsDataManipulationTransactionsOnly  )  throws SQLException
 

Are only data manipulation statements within a transaction supported?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1389 行で定義されています。
01390 { 01391 return false; 01392 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsDifferentTableCorrelationNames  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1401 行で定義されています。
01402 { 01403 return false; 01404 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsExpressionsInOrderBy  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1413 行で定義されています。
01414 { 01415 return false; 01416 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsExtendedSQLGrammar  )  throws SQLException
 

Does this driver support the Extended (Level 2) ODBC SQL grammar. We don't conform to the Core (Level 1), so we can't conform to the Extended SQL Grammar.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1426 行で定義されています。
01427 { 01428 return false; 01429 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsFullOuterJoins  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1438 行で定義されています。
01439 { 01440 return false; 01441 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsGetGeneratedKeys  )  throws SQLException
 

Retrieves whether auto-generated keys can be retrieved after a statement has been executed.

戻り値:
true if auto-generated keys can be retrieved after a statement has executed; false otherwise
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2024 行で定義されています。
02025 { 02026 return true; 02027 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsGroupBy  )  throws SQLException
 

Is some form of "GROUP BY" clause supported? I checked it, and yes it is.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1449 行で定義されています。
01450 { 01451 return true; 01452 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsGroupByBeyondSelect  )  throws SQLException
 

Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT? Does anyone actually understand what they mean here?

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1462 行で定義されています。
01463 { 01464 return true; 01465 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsGroupByUnrelated  )  throws SQLException
 

Can a "GROUP BY" clause use columns not in the SELECT? I checked it - it seems to allow it.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1474 行で定義されています。
01475 { 01476 return true; 01477 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsIntegrityEnhancementFacility  )  throws SQLException
 

Is the SQL Integrity Enhancement Facility supported? I haven't seen this mentioned anywhere, so I guess not

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1486 行で定義されています。
01487 { 01488 return false; 01489 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsLikeEscapeClause  )  throws SQLException
 

Is the escape character in "LIKE" clauses supported? A JDBC compliant driver always returns true.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1498 行で定義されています。
01499 { 01500 return true; 01501 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsLimitedOuterJoins  )  throws SQLException
 

Is there limited support for outer joins? (This will be true if supportFullOuterJoins is true)

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1510 行で定義されています。
01511 { 01512 return true; 01513 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsMinimumSQLGrammar  )  throws SQLException
 

Does this driver support the minimum ODBC SQL grammar. This grammar is defined at:
http://www.microsoft.com/msdn/sdk/platforms/doc/odbc/src/intropr.htm

In Postgres Appendix C. From this description, we seem to support the ODBC minimal (Level 0) grammar.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1528 行で定義されています。
01529 { 01530 return true; 01531 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsMixedCaseIdentifiers  )  throws SQLException
 

Does the database treat mixed case unquoted SQL identifiers as case sensitive and as a result store them in mixed case? A JDBC-Compliant driver will always return false.

Predicament - what do they mean by "SQL identifiers" - if it means the names of the tables and columns, then the answers given below are correct - otherwise I don't know.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1545 行で定義されています。
01546 { 01547 return false; 01548 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsMixedCaseQuotedIdentifiers  )  throws SQLException
 

Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store them in mixed case? A JDBC compliant driver will always return true.

Predicament - what do they mean by "SQL identifiers" - if it means the names of the tables and columns, then the answers given below are correct - otherwise I don't know.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1562 行で定義されています。
01563 { 01564 return true; 01565 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsMultipleOpenResults  )  throws SQLException
 

Retrieves whether it is possible to have multiple ResultSet objects returned from a CallableStatement object simultaneously.

This is not yet supported by C-JDBC.

戻り値:
true if a CallableStatement object can return multiple ResultSet objects simultaneously; false otherwise
例外:
SQLException if a datanase access error occurs
から:
JDK 1.4
DatabaseMetaData.java2010 行で定義されています。
02011 { 02012 return false; 02013 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsMultipleResultSets  )  throws SQLException
 

Are multiple ResultSets from a single execute supported? Well, it should be implemented, but this is possible for most of the backends. Should really ask the Controller about that.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1575 行で定義されています。
01576 { 01577 return false; 01578 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsMultipleTransactions  )  throws SQLException
 

Can we have multiple transactions open at once (on different connections?). I guess we can have, since we are relying on it.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1587 行で定義されています。
01588 { 01589 return true; 01590 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsNamedParameters  )  throws SQLException
 

Retrieves whether this database supports named parameters to callable statements.

This is not yet supported by C-JDBC.

戻り値:
true if named parameters are supported; false otherwise
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java1992 行で定義されています。
01993 { 01994 return false; 01995 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsNonNullableColumns  )  throws SQLException
 

Can columns be defined as non-nullable. A JDBC Compliant driver always returns true.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1599 行で定義されています。
01600 { 01601 return true; 01602 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsOpenCursorsAcrossCommit  )  throws SQLException
 

Does this database support having cursors remain open across commits. Note that a return value of flase does not mean that cursors are always close on commit; rather false means that cursors are not always left open across commits.

戻り値:
true if so
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1613 行で定義されています。
01614 { 01615 return false; 01616 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsOpenCursorsAcrossRollback  )  throws SQLException
 

Do we support open cursors across rollback ?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1624 行で定義されています。
01625 { 01626 return false; 01627 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsOpenStatementsAcrossCommit  )  throws SQLException
 

Can statements remain open across commits? They may, but this driver cannot guarentee that. In further reflection. We are talking a Statement object jere, so the answer is yes, since the Statement is only a vehicle to ExecSQL().

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1638 行で定義されています。
01639 { 01640 return true; 01641 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsOpenStatementsAcrossRollback  )  throws SQLException
 

Can statements remain open across rollbacks? They may, but this driver cannot guarentee that. In further contemplation, we are talking a Statement object here, so the answer is yes, since the Statement is only a vehicle to ExecSQL() in Connection.

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1653 行で定義されています。
01654 { 01655 return true; 01656 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsOrderByUnrelated  )  throws SQLException
 

Can an "ORDER BY" clause use columns not in the SELECT?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1664 行で定義されています。
01665 { 01666 return false; 01667 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsOuterJoins  )  throws SQLException
 

Is some form of outer join supported?

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1675 行で定義されています。
01676 { 01677 return true; 01678 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsPositionedDelete  )  throws SQLException
 

We support cursors for gets only it seems. I dont see a method to get a positioned delete.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1687 行で定義されています。
01688 { 01689 return false; 01690 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsPositionedUpdate  )  throws SQLException
 

Is positioned UPDATE supported?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1698 行で定義されています。
01699 { 01700 return false; 01701 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsResultSetConcurrency int  type,
int  concurrency
throws SQLException
 

Which combination of concurrency level and ResultSet type is supported ?

引数:
type ResultSet type
concurrency concurrency level
戻り値:
false for TYPE_SCROLL_SENSITIVE and CONCUR_UPDATABLE
例外:
SQLException if an error occurs
DatabaseMetaData.java1712 行で定義されています。
01714 { 01715 // These combinations are not supported! 01716 if (type == java.sql.ResultSet.TYPE_SCROLL_SENSITIVE) 01717 return false; 01718 01719 // We don't yet support Updateable ResultSets 01720 if (concurrency == java.sql.ResultSet.CONCUR_UPDATABLE) 01721 return false; 01722 01723 // Everything else we do 01724 return true; 01725 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsResultSetHoldability int  holdability  )  throws SQLException
 

Retrieves whether this database supports the given result set holdability.

This is not yet supported by C-JDBC.

引数:
holdability one of the following constants: ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT<code>
戻り値:
true if so; false otherwise
例外:
SQLException if a database access error occurs
参照:
Connection
から:
JDK 1.4
DatabaseMetaData.java2205 行で定義されています。
02207 { 02208 return false; 02209 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsResultSetType int  type  )  throws SQLException
 

Supported ResultSet types.

引数:
type ResultSet type
戻り値:
false for TYPE_SCROLL_SENSITIVE
例外:
SQLException if an error occurs
DatabaseMetaData.java1734 行で定義されています。
01735 { 01736 // The only type we don't support 01737 return type != java.sql.ResultSet.TYPE_SCROLL_SENSITIVE; 01738 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSavepoints  )  throws SQLException
 

Retrieves whether this database supports savepoints.

This is not yet supported by C-JDBC.

戻り値:
true if savepoints are supported; false otherwise
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java1976 行で定義されています。
01977 { 01978 return false; 01979 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSchemasInDataManipulation  )  throws SQLException
 

Can a schema name be used in a data manipulation statement? Nope.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1746 行で定義されています。
01747 { 01748 return false; 01749 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSchemasInIndexDefinitions  )  throws SQLException
 

Can a schema name be used in an index definition statement?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1757 行で定義されています。
01758 { 01759 return false; 01760 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSchemasInPrivilegeDefinitions  )  throws SQLException
 

Can a schema name be used in a privilege definition statement?

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1768 行で定義されています。
01769 { 01770 return false; 01771 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSchemasInProcedureCalls  )  throws SQLException
 

Can a schema name be used in a procedure call statement? Nope.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1779 行で定義されています。
01780 { 01781 return false; 01782 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSchemasInTableDefinitions  )  throws SQLException
 

Can a schema be used in a table definition statement? Nope.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1790 行で定義されています。
01791 { 01792 return false; 01793 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSelectForUpdate  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1802 行で定義されています。
01803 { 01804 return false; 01805 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsStatementPooling  )  throws SQLException
 

Retrieves whether this database supports statement pooling.

This is not yet supported in C-JDBC.

戻り値:
true if so; false otherwise
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DatabaseMetaData.java2314 行で定義されています。
02315 { 02316 return false; 02317 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsStoredProcedures  )  throws SQLException
 

Yes, stored procedures are supported since 1.0b6.

戻り値:
true
例外:
SQLException <description>
DatabaseMetaData.java1813 行で定義されています。
01814 { 01815 return true; 01816 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSubqueriesInComparisons  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1825 行で定義されています。
01826 { 01827 return false; 01828 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSubqueriesInExists  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1837 行で定義されています。
01838 { 01839 return false; 01840 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSubqueriesInIns  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1849 行で定義されています。
01850 { 01851 return false; 01852 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsSubqueriesInQuantifieds  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1861 行で定義されています。
01862 { 01863 return false; 01864 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsTableCorrelationNames  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1873 行で定義されています。
01874 { 01875 return false; 01876 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsTransactionIsolationLevel int  level  )  throws SQLException
 

Does the database support the given transaction isolation level? We should support all of them or at least ask the Controller ...

引数:
level the values are defined in java.sql.Connection
戻り値:
true
例外:
SQLException if a database access error occurs
参照:
Connection
DatabaseMetaData.java1887 行で定義されています。
01889 { 01890 return true; 01891 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsTransactions  )  throws SQLException
 

Are transactions supported? If not, commit and rollback are noops and the isolation level is TRANSACTION_NONE. We do support transactions.

戻り値:
true if transactions are supported
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1900 行で定義されています。
01901 { 01902 return true; 01903 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsUnion  )  throws SQLException
 

Is SQL UNION supported?

戻り値:
true
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1911 行で定義されています。
01912 { 01913 return true; 01914 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.supportsUnionAll  )  throws SQLException
 

Is SQL UNION ALL supported? Nope.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1922 行で定義されています。
01923 { 01924 return false; 01925 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.updatesAreDetected int  type  )  throws SQLException
 

Not implemented (returns false). We should ask the Controller to know.

引数:
type an int value
戻り値:
false
例外:
SQLException <description>
DatabaseMetaData.java1935 行で定義されています。
01936 { 01937 return false; 01938 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.usesLocalFilePerTable  )  throws SQLException
 

Does the database use a file for each table? Well, not really, since it doesn't use local files.

戻り値:
true if so
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1947 行で定義されています。
01948 { 01949 return false; 01950 }

boolean org.objectweb.cjdbc.driver.DatabaseMetaData.usesLocalFiles  )  throws SQLException
 

Does the database store tables in a local file? No, it stores them in a file on the server.

戻り値:
false
例外:
SQLException if a database access error occurs
DatabaseMetaData.java1959 行で定義されています。
01960 { 01961 return false; 01962 }


変数

Connection org.objectweb.cjdbc.driver.DatabaseMetaData.connection [private]
 

The connection association DatabaseMetaData.java46 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getCatalogs(), org.objectweb.cjdbc.driver.DatabaseMetaData.getColumns(), org.objectweb.cjdbc.driver.DatabaseMetaData.getConnection(), org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseProductName(), org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseProductVersion(), org.objectweb.cjdbc.driver.DatabaseMetaData.getPrimaryKeys(), org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedureColumns(), org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedures(), org.objectweb.cjdbc.driver.DatabaseMetaData.getSchemas(), org.objectweb.cjdbc.driver.DatabaseMetaData.getTablePrivileges(), org.objectweb.cjdbc.driver.DatabaseMetaData.getTables(), org.objectweb.cjdbc.driver.DatabaseMetaData.getTableTypes(), org.objectweb.cjdbc.driver.DatabaseMetaData.getURL(), org.objectweb.cjdbc.driver.DatabaseMetaData.getUserName(), と org.objectweb.cjdbc.driver.DatabaseMetaData.isReadOnly().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.1に対してWed Aug 18 09:20:32 2004に生成されました。 doxygen 1.3.8