databasemetadataimpl.java
来自「RESIN 3.2 最新源码」· Java 代码 · 共 1,268 行 · 第 1/2 页
JAVA
1,268 行
throws SQLException { return false; } public boolean supportsSubqueriesInQuantifieds() throws SQLException { return false; } public boolean supportsCorrelatedSubqueries() throws SQLException { return false; } public boolean supportsUnion() throws SQLException { return true; } public boolean supportsUnionAll() throws SQLException { return true; } public boolean supportsOpenCursorsAcrossCommit() throws SQLException { return false; } public boolean supportsOpenCursorsAcrossRollback() throws SQLException { return false; } public boolean supportsOpenStatementsAcrossCommit() throws SQLException { return true; } public boolean supportsOpenStatementsAcrossRollback() throws SQLException { return true; } public int getMaxBinaryLiteralLength() throws SQLException { return 16; } public int getMaxCharLiteralLength() throws SQLException { return 254; } public int getMaxColumnNameLength() throws SQLException { return 64; } public int getMaxColumnsInGroupBy() throws SQLException { return 16; } public int getMaxColumnsInIndex() throws SQLException { return 16; } public int getMaxColumnsInOrderBy() throws SQLException { return 16; } public int getMaxColumnsInSelect() throws SQLException { return 16; } public int getMaxColumnsInTable() throws SQLException { return 16; } public int getMaxConnections() throws SQLException { return 16; } public int getMaxCursorNameLength() throws SQLException { return 254; } public int getMaxIndexLength() throws SQLException { return 254; } public int getMaxSchemaNameLength() throws SQLException { return 254; } public int getMaxProcedureNameLength() throws SQLException { return 254; } public int getMaxCatalogNameLength() throws SQLException { return 64; } public int getMaxRowSize() throws SQLException { return 65536; } public int getMaxRowSizeIncludeBlobs() throws SQLException { return 65536; } public boolean doesMaxRowSizeIncludeBlobs() throws SQLException { return false; } public int getMaxStatementLength() throws SQLException { return 65536; } public int getMaxStatements() throws SQLException { return 0; } public int getMaxTableNameLength() throws SQLException { return 64; } public int getMaxTablesInSelect() throws SQLException { return 0; } public int getMaxUserNameLength() throws SQLException { return 0; } public int getDefaultTransactionIsolation() throws SQLException { return Connection.TRANSACTION_NONE; } public boolean supportsTransactions() throws SQLException { return true; } public boolean supportsTransactionIsolationLevel(int level) throws SQLException { return false; } public boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException { return false; } public boolean supportsDataManipulationTransactionsOnly() throws SQLException { return false; } public boolean supportsCatalogsInDataManipulation() throws SQLException { return false; } public boolean dataDefinitionCausesTransactionCommit() throws SQLException { return false; } public boolean dataDefinitionIgnoredInTransactions() throws SQLException { return false; } public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { return null; } public java.sql.ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePatterns) throws SQLException { return null; } public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String []types) throws SQLException { DummyResultSet dummy = new DummyResultSet(); dummy.addColumn("TABLE_CAT", Types.VARCHAR); dummy.addColumn("TABLE_SCHEM", Types.VARCHAR); dummy.addColumn("TABLE_NAME", Types.VARCHAR); dummy.addColumn("TABLE_TYPE", Types.VARCHAR); dummy.addColumn("REMARKS", Types.VARCHAR); return dummy; } public java.sql.ResultSet getSchemas() throws SQLException { return null; } public java.sql.ResultSet getCatalogs() throws SQLException { return null; } public java.sql.ResultSet getTableTypes() throws SQLException { return null; } public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { DummyResultSet dummy = new DummyResultSet(); dummy.addColumn("TABLE_CAT", Types.VARCHAR); dummy.addColumn("TABLE_SCHEM", Types.VARCHAR); dummy.addColumn("TABLE_NAME", Types.VARCHAR); dummy.addColumn("COLUMN_NAME", Types.VARCHAR); dummy.addColumn("DATA_TYPE", Types.SMALLINT); dummy.addColumn("TYPE_NAME", Types.VARCHAR); dummy.addColumn("COLUMN_SIZE", Types.INTEGER); dummy.addColumn("BUFFER_LENGTH", Types.INTEGER); dummy.addColumn("DECIMAL_DIGITS", Types.INTEGER); dummy.addColumn("NUM_PREC_RADIX", Types.INTEGER); dummy.addColumn("NULLABLE", Types.INTEGER); dummy.addColumn("REMARKS", Types.VARCHAR); dummy.addColumn("COLUMN_DEF", Types.VARCHAR); dummy.addColumn("SQL_DATA_TYPE", Types.INTEGER); dummy.addColumn("SQL_DATETIME_SUB", Types.INTEGER); dummy.addColumn("CHAR_OCTET_LENGTH", Types.INTEGER); dummy.addColumn("ORDINAL_POSITION", Types.INTEGER); dummy.addColumn("IS_NULLABLE", Types.VARCHAR); return dummy; } public java.sql.ResultSet getColumnPrivileges(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getTable(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException { return new DummyResultSet(); } public java.sql.ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException { return new DummyResultSet(); } public boolean supportsResultSetType(int type) throws SQLException { return false; } public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQLException { return false; } public boolean ownUpdatesAreVisible(int type) throws SQLException { return false; } public boolean ownDeletesAreVisible(int type) throws SQLException { return false; } public boolean ownInsertsAreVisible(int type) throws SQLException { return false; } public boolean othersUpdatesAreVisible(int type) throws SQLException { return false; } public boolean othersDeletesAreVisible(int type) throws SQLException { return false; } public boolean othersInsertsAreVisible(int type) throws SQLException { return false; } public boolean updatesAreDetected(int type) throws SQLException { return false; } public boolean deletesAreDetected(int type) throws SQLException { return false; } public boolean insertsAreDetected(int type) throws SQLException { return false; } public boolean supportsBatchUpdates() throws SQLException { return false; } public boolean supportsStatementPooling() throws SQLException { return false; } public boolean supportsUpdateCpy() throws SQLException { return false; } public boolean locatorsUpdateCopy() throws SQLException { return false; } public int getSQLStateType() throws SQLException { return 0; } public int getJDBCMajorVersion() throws SQLException { return 2; } public int getJDBCMinorVersion() throws SQLException { return 0; } public int getResultSetHoldability() throws SQLException { return 0; } public boolean supportsResultSetHoldability() throws SQLException { return false; } public boolean supportsResultSetHoldability(int holdability) throws SQLException { return false; } public java.sql.ResultSet getAttributes(String a, String b, String c, String g) throws SQLException { return null; } public java.sql.ResultSet getSuperTypes(String a, String b, String c) throws SQLException { return null; } public java.sql.ResultSet getSuperTables(String a, String b, String c) throws SQLException { return null; } public boolean supportsGetGeneratedKeys() throws SQLException { return true; } public boolean supportsMultipleOpenResults() throws SQLException { return false; } public boolean supportsNamedParameters() throws SQLException { return false; } public boolean supportsSavepoints() throws SQLException { return false; } public int getDatabaseMajorVersion() throws SQLException { return 0; } public int getDatabaseMinorVersion() throws SQLException { return 0; } public java.sql.ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int []types) throws SQLException { return null; } public String toString() { return "DatabaseMetaDataImpl[]"; } public RowIdLifetime getRowIdLifetime() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public boolean autoCommitFailureClosesAllResultSets() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public ResultSet getClientInfoProperties() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public <T> T unwrap(Class<T> iface) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public boolean isWrapperFor(Class<?> iface) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?