org.neo4j.jdbc.DatabaseMetaData Maven / Gradle / Ivy
Show all versions of neo4j-jdbc Show documentation
/*
* Copyright (c) 2016 LARUS Business Automation [http://www.larus-ba.it]
*
* This file is part of the "LARUS Integration Framework for Neo4j".
*
* The "LARUS Integration Framework for Neo4j" is licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Created on 03/02/16
*/
package org.neo4j.jdbc;
import org.neo4j.jdbc.impl.ListResultSet;
import org.neo4j.jdbc.utils.ExceptionBuilder;
import java.io.InputStream;
import java.sql.ResultSet;
import java.sql.RowIdLifetime;
import java.sql.SQLException;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author AgileLARUS
* @since 3.0.0
*/
public abstract class DatabaseMetaData implements java.sql.DatabaseMetaData {
/**
* The regex to parse the version driver.
* NUMBER + . + NUMBER + .|- + STRING
*/
private final static Pattern VERSION_REGEX = Pattern.compile("^(\\d+)\\.(\\d+)(\\.|-)?(.*)?$");
/**
* Name of the driver.
*/
private String driverName;
/**
* Version of the driver.
*/
private String driverVersion;
/**
* Database version.
*/
protected String databaseVersion = "Unknown";
/**
* The JDBC connection.
*/
private Connection connection;
/**
* Do we are in debug mode ?
*/
private boolean debug = false;
/**
* Default constructor.
* Permit to load version and driver name from a property file.
*/
public DatabaseMetaData(Connection connection, boolean debug) {
this.connection = connection;
this.debug = debug;
// Compute driver version, name, ...
try (InputStream stream = DatabaseMetaData.class.getResourceAsStream("/neo4j-jdbc-driver.properties")) {
Properties properties = new Properties();
properties.load(stream);
this.driverName = properties.getProperty("driver.name");
this.driverVersion = properties.getProperty("driver.version");
} catch (Exception e) {
this.driverName = "Neo4j JDBC Driver";
this.driverVersion = "Unknown";
throw new RuntimeException(e);
}
}
/**
* Extract a part of a Version
*
* @param version The string representation of a version
* @param position 1 for the major, 2 for minor and 3 for revision
* @return The corresponding driver version part if it's possible, otherwise -1
*/
private int extractVersionPart(String version, int position) {
int result = -1;
try {
Matcher matcher = VERSION_REGEX.matcher(this.getDriverVersion());
if (matcher.find()) {
result = Integer.valueOf(matcher.group(position));
}
} catch (SQLException e) {
// silent exception, but there is the default value
}
return result;
}
public T unwrap(Class iface) throws SQLException {
return Wrapper.unwrap(iface, this);
}
public boolean isWrapperFor(Class> iface) throws SQLException {
return Wrapper.isWrapperFor(iface, this.getClass());
}
/*------------------------------------*/
/* Default implementation */
/*------------------------------------*/
@Override public java.sql.Connection getConnection() throws SQLException {
return this.connection;
}
@Override public String getDriverName() throws SQLException {
return this.driverName;
}
@Override public String getDriverVersion() throws SQLException {
return this.driverVersion;
}
@Override public int getDriverMajorVersion() {
return this.extractVersionPart(driverVersion, 1);
}
@Override public int getDriverMinorVersion() {
return this.extractVersionPart(driverVersion, 2);
}
@Override public String getDatabaseProductName() throws SQLException {
return "Neo4j";
}
@Override public String getDatabaseProductVersion() throws SQLException {
return this.databaseVersion;
}
@Override public int getDatabaseMajorVersion() throws SQLException {
return this.extractVersionPart(driverVersion, 1);
}
@Override public int getDatabaseMinorVersion() throws SQLException {
return this.extractVersionPart(driverVersion, 2);
}
@Override public int getJDBCMajorVersion() throws SQLException {
return 4;
}
@Override public int getJDBCMinorVersion() throws SQLException {
return 0;
}
@Override public String getIdentifierQuoteString() throws SQLException {
return "\"";
}
// Here make a list of cypher keyword ?
@Override public String getSQLKeywords() throws SQLException {
return "";
}
@Override public String getNumericFunctions() throws SQLException {
return "";
}
@Override public String getStringFunctions() throws SQLException {
return "";
}
@Override public String getTimeDateFunctions() throws SQLException {
return "";
}
@Override public String getExtraNameCharacters() throws SQLException {
return "";
}
@Override public boolean supportsMultipleResultSets() throws SQLException {
return false;
}
@Override public String getCatalogTerm() throws SQLException {
return null;
}
@Override public String getCatalogSeparator() throws SQLException {
return "";
}
@Override public boolean supportsSchemasInDataManipulation() throws SQLException {
return false;
}
@Override public boolean supportsSchemasInTableDefinitions() throws SQLException {
return false;
}
@Override public boolean supportsCatalogsInDataManipulation() throws SQLException {
return false;
}
@Override public boolean supportsCatalogsInProcedureCalls() throws SQLException {
return false;
}
@Override public boolean supportsCatalogsInTableDefinitions() throws SQLException {
return false;
}
@Override public int getDefaultTransactionIsolation() throws SQLException {
return 0;
}
@Override public boolean supportsTransactions() throws SQLException {
return true;
}
@Override public ResultSet getSchemas() throws SQLException {
return new ListResultSet(Collections.>emptyList(), Collections.emptyList());
}
@Override public ResultSet getCatalogs() throws SQLException {
return new ListResultSet(Collections.>emptyList(), Collections.emptyList());
}
@Override public ResultSet getTableTypes() throws SQLException {
return new ListResultSet(Collections.>emptyList(), Collections.emptyList());
}
@Override public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException {
return null;
}
@Override public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException {
return null;
}
@Override public String getSearchStringEscape() throws SQLException {
return "\\";
}
@Override public String getUserName() throws SQLException {
return this.connection.getUserName();
}
@Override public boolean isReadOnly() throws SQLException {
return this.connection.isReadOnly();
}
@Override public String getURL() throws SQLException {
return this.connection.url;
}
@Override public boolean supportsMixedCaseIdentifiers() throws SQLException {
return true;
}
@Override public boolean storesUpperCaseIdentifiers() throws SQLException {
return false;
}
@Override public boolean storesLowerCaseIdentifiers() throws SQLException {
return false;
}
@Override public boolean storesMixedCaseIdentifiers() throws SQLException {
return true;
}
@Override public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException {
return false;
}
@Override public boolean storesUpperCaseQuotedIdentifiers() throws SQLException {
return false;
}
@Override public boolean storesLowerCaseQuotedIdentifiers() throws SQLException {
return false;
}
@Override public boolean storesMixedCaseQuotedIdentifiers() throws SQLException {
return false;
}
@Override public boolean supportsSelectForUpdate() throws SQLException {
return false;
}
@Override public boolean supportsStoredProcedures() throws SQLException {
return false;
}
@Override public int getMaxStatements() throws SQLException {
return 0;
}
@Override public int getMaxConnections() throws SQLException {
return 0;
}
/*---------------------------------*/
/* Not implemented yet */
/*---------------------------------*/
@Override public boolean allProceduresAreCallable() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean allTablesAreSelectable() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean nullsAreSortedHigh() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean nullsAreSortedLow() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean nullsAreSortedAtStart() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean nullsAreSortedAtEnd() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean usesLocalFiles() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean usesLocalFilePerTable() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public String getSystemFunctions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsAlterTableWithAddColumn() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsAlterTableWithDropColumn() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsColumnAliasing() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean nullPlusNonNullIsNull() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsConvert() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsConvert(int fromType, int toType) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsTableCorrelationNames() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsDifferentTableCorrelationNames() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsExpressionsInOrderBy() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsOrderByUnrelated() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsGroupBy() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsGroupByUnrelated() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsGroupByBeyondSelect() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsLikeEscapeClause() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsMultipleTransactions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsNonNullableColumns() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsMinimumSQLGrammar() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsCoreSQLGrammar() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsExtendedSQLGrammar() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsANSI92EntryLevelSQL() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsANSI92IntermediateSQL() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsANSI92FullSQL() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsIntegrityEnhancementFacility() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsOuterJoins() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsFullOuterJoins() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsLimitedOuterJoins() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public String getSchemaTerm() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public String getProcedureTerm() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean isCatalogAtStart() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSchemasInProcedureCalls() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSchemasInIndexDefinitions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsCatalogsInIndexDefinitions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsPositionedDelete() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsPositionedUpdate() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSubqueriesInComparisons() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSubqueriesInExists() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSubqueriesInIns() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSubqueriesInQuantifieds() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsCorrelatedSubqueries() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsUnion() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsUnionAll() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsOpenCursorsAcrossCommit() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsOpenCursorsAcrossRollback() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsOpenStatementsAcrossCommit() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsOpenStatementsAcrossRollback() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxBinaryLiteralLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxCharLiteralLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxColumnNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxColumnsInGroupBy() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxColumnsInIndex() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxColumnsInOrderBy() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxColumnsInSelect() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxColumnsInTable() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxCursorNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxIndexLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxSchemaNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxProcedureNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxCatalogNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxRowSize() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean doesMaxRowSizeIncludeBlobs() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxStatementLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxTableNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxTablesInSelect() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getMaxUserNameLength() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsTransactionIsolationLevel(int level) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsDataManipulationTransactionsOnly() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean dataDefinitionCausesTransactionCommit() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean dataDefinitionIgnoredInTransactions() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema,
String foreignTable) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getTypeInfo() throws SQLException {
return new ListResultSet(Collections.>emptyList(), Collections.emptyList());
}
@Override public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsResultSetType(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean ownUpdatesAreVisible(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean ownDeletesAreVisible(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean ownInsertsAreVisible(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean othersUpdatesAreVisible(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean othersDeletesAreVisible(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean othersInsertsAreVisible(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean updatesAreDetected(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean deletesAreDetected(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean insertsAreDetected(int type) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsBatchUpdates() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsSavepoints() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsNamedParameters() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsMultipleOpenResults() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsGetGeneratedKeys() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsResultSetHoldability(int holdability) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getResultSetHoldability() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public int getSQLStateType() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean locatorsUpdateCopy() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsStatementPooling() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public RowIdLifetime getRowIdLifetime() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getClientInfoProperties() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern)
throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
@Override public boolean generatedKeyAlwaysReturned() throws SQLException {
throw ExceptionBuilder.buildUnsupportedOperationException();
}
}