Index: db/libsrc/org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java =================================================================== RCS file: /cvs/db/libsrc/org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java,v retrieving revision 1.20 diff -u -r1.20 DefaultAdaptor.java --- db/libsrc/org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java 20 Nov 2005 22:49:32 -0000 1.20 +++ db/libsrc/org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java 1 Mar 2006 20:24:31 -0000 @@ -20,15 +20,19 @@ import java.sql.DatabaseMetaData; import java.sql.PreparedStatement; import java.sql.ResultSet; +import java.sql.RowIdLifetime; import java.sql.SQLException; import java.util.HashMap; import java.util.Map; import java.util.ResourceBundle; +import org.netbeans.lib.ddl.adaptors.DatabaseMetaDataAdaptor; import org.openide.util.NbBundle; public class DefaultAdaptor implements DatabaseMetaDataAdaptor, Serializable { + + // XXX apart from caching the DatabaseMetaData return values, this class doesn't do almost // anything useful and prevents the db module from compiling on JDK 1.6 -- should be removed // or implemented in a different way @@ -4018,6 +4022,45 @@ public boolean supportsStatementPooling() throws SQLException { return false; + } + public ResultSet getFunctionParameters(String catalog, + String schemaPattern, + String functionNamePattern, + String parameterNamePattern) throws SQLException { + throw new SQLException ("Not implemented"); + } + public ResultSet getFunctions(String catalog, String schemaPattern, + String functionNamePattern) throws SQLException { + throw new SQLException ("Not implemented"); + } + + public boolean providesQueryObjectGenerator() throws SQLException { + return false; + } + + public ResultSet getClientInfoProperties() + throws SQLException { + throw new SQLException ("Not implemented"); + } + + public boolean autoCommitFailureClosesAllResultSets() throws SQLException { + return false; + } + + public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException { + return false; + } + public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException { + throw new SQLException ("Not implemented"); + } + public RowIdLifetime getRowIdLifetime() throws SQLException { + throw new SQLException ("Not implemented"); + } + public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException { + return false; + } + public java.lang.Object unwrap(java.lang.Class iface) throws java.sql.SQLException { + throw new SQLException ("Not implemented"); } }