org.sqlite.jdbc4.JDBC4DatabaseMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlite-jdbc Show documentation
Show all versions of sqlite-jdbc Show documentation
SQLite JDBC library with encryption and authentication support
package org.sqlite.jdbc4;
import java.sql.ResultSet;
import java.sql.RowIdLifetime;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import org.sqlite.SQLiteConnection;
import org.sqlite.jdbc3.JDBC3DatabaseMetaData;
public class JDBC4DatabaseMetaData extends JDBC3DatabaseMetaData
{
public JDBC4DatabaseMetaData(SQLiteConnection conn) {
super(conn);
}
// JDBC 4
public T unwrap(Class iface) throws ClassCastException {
return iface.cast(this);
}
public boolean isWrapperFor(Class> iface) {
return iface.isInstance(this);
}
public RowIdLifetime getRowIdLifetime() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public ResultSet getSchemas(String catalog, String schemaPattern)
throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public ResultSet getClientInfoProperties() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public ResultSet getFunctions(String catalog, String schemaPattern,
String functionNamePattern) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public boolean generatedKeyAlwaysReturned() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
}