diff --git a/src/com/octetstring/jdbcLdap/jndi/JndiLdapConnection.java b/src/com/octetstring/jdbcLdap/jndi/JndiLdapConnection.java index ba38b7b2bd4b04c4295d2bd01098f65e5748de17..d397f80e7f77a5778b00378aec428bcaee66708a 100644 --- a/src/com/octetstring/jdbcLdap/jndi/JndiLdapConnection.java +++ b/src/com/octetstring/jdbcLdap/jndi/JndiLdapConnection.java @@ -526,7 +526,11 @@ public class JndiLdapConnection implements java.sql.Connection { public java.sql.Savepoint setSavepoint() throws java.sql.SQLException { return null; } - + + public void setSchema(String schema) throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + public boolean isReadOnly() throws java.sql.SQLException { return false; } @@ -534,7 +538,11 @@ public class JndiLdapConnection implements java.sql.Connection { public void setHoldability(int param) throws java.sql.SQLException { } - + + public void setNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds) throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + public void rollback() throws java.sql.SQLException { if (! this.ignoreTransactions) { throw new SQLException("LDAP Does Not Support Transactions"); @@ -653,7 +661,19 @@ public class JndiLdapConnection implements java.sql.Connection { public java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException { return new JdbcLdapDBMetaData(this); } - + + public int getNetworkTimeout() throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + + public String getSchema() throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + + public void abort(java.util.concurrent.Executor executor) throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + public void clearWarnings() throws java.sql.SQLException { } diff --git a/src/com/octetstring/jdbcLdap/sql/JdbcLdapDBMetaData.java b/src/com/octetstring/jdbcLdap/sql/JdbcLdapDBMetaData.java index c70d1cf9faad0660705dc7025e53300844a1192e..f02c288baeda87b3017b699ae36393a8d90d1869 100644 --- a/src/com/octetstring/jdbcLdap/sql/JdbcLdapDBMetaData.java +++ b/src/com/octetstring/jdbcLdap/sql/JdbcLdapDBMetaData.java @@ -308,6 +308,13 @@ public class JdbcLdapDBMetaData implements DatabaseMetaData { return false; } + /* (non-Javadoc) + * @see java.sql.DatabaseMetaData#generatedKeyAlwaysReturned() + */ + public boolean generatedKeyAlwaysReturned() throws SQLException { + throw new SQLException("Not implemented"); + } + /* (non-Javadoc) * @see java.sql.DatabaseMetaData#isCatalogAtStart() */ @@ -1150,6 +1157,13 @@ public class JdbcLdapDBMetaData implements DatabaseMetaData { return null; } + /* (non-Javadoc) + * @see java.sql.DatabaseMetaData#getPseudoColumns() + */ + public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { + throw new SQLException("Not implemented"); + } + /* (non-Javadoc) * @see java.sql.DatabaseMetaData#getSQLKeywords() */ diff --git a/src/com/octetstring/jdbcLdap/sql/JdbcLdapDriver.java b/src/com/octetstring/jdbcLdap/sql/JdbcLdapDriver.java index a05008cf8b9ca24d250b41eb5ba98f3cd39736dd..2eeacce71713960f329b8fc507b745bffb38ee0b 100644 --- a/src/com/octetstring/jdbcLdap/sql/JdbcLdapDriver.java +++ b/src/com/octetstring/jdbcLdap/sql/JdbcLdapDriver.java @@ -111,7 +111,11 @@ public class JdbcLdapDriver implements java.sql.Driver { public int getMinorVersion() { return MINOR_VERSION; } - + + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new SQLFeatureNotSupportedException("Not implemented"); + } + public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String str, java.util.Properties properties) throws java.sql.SQLException { DriverPropertyInfo[] props = new DriverPropertyInfo[5]; props[0] = new DriverPropertyInfo("user","Security Principal"); diff --git a/src/com/octetstring/jdbcLdap/sql/JdbcLdapStatement.java b/src/com/octetstring/jdbcLdap/sql/JdbcLdapStatement.java index 7118cf77ee8f96dacf9c1842f53abf1501581229..b3d5d5b7d177bfa286a6b020118c5c71630cb414 100644 --- a/src/com/octetstring/jdbcLdap/sql/JdbcLdapStatement.java +++ b/src/com/octetstring/jdbcLdap/sql/JdbcLdapStatement.java @@ -157,6 +157,10 @@ public class JdbcLdapStatement implements java.sql.Statement { public void close() throws java.sql.SQLException { } + public void closeOnCompletion() throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + public boolean execute(java.lang.String str) throws java.sql.SQLException { executeQuery(str); return true; @@ -311,6 +315,10 @@ public class JdbcLdapStatement implements java.sql.Statement { throw new SQLException("Not implemented"); } + public boolean isCloseOnCompletion() throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + public boolean isPoolable() throws java.sql.SQLException { throw new SQLException("Not implemented"); } diff --git a/src/com/octetstring/jdbcLdap/sql/LdapResultSet.java b/src/com/octetstring/jdbcLdap/sql/LdapResultSet.java index 3cb77cd6a08edb4a85abf44b8e1e9527e4d40dcc..df10c7f9c2820b7e30fce9a8a763dce7308a7276 100644 --- a/src/com/octetstring/jdbcLdap/sql/LdapResultSet.java +++ b/src/com/octetstring/jdbcLdap/sql/LdapResultSet.java @@ -398,18 +398,27 @@ public class LdapResultSet implements java.sql.ResultSet { return getByNum(param); } + public <T>T getObject(int param, Class<T> type) throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + public java.lang.Object getObject(java.lang.String str) throws java.sql.SQLException { return getByName(str); } - public java.lang.Object getObject(int param, java.util.Map map) + public <T>T getObject(java.lang.String str, Class<T> type) + throws java.sql.SQLException { + throw new SQLException("Not implemented"); + } + + public java.lang.Object getObject(int param, java.util.Map<String, Class<?>> map) throws java.sql.SQLException { return getByNum(param); } - public java.lang.Object getObject(java.lang.String str, java.util.Map map) + public java.lang.Object getObject(java.lang.String str, java.util.Map<String, Class<?>> map) throws java.sql.SQLException { return getByName(str); } diff --git a/src/com/octetstring/jdbcLdap/util/ObjRS.java b/src/com/octetstring/jdbcLdap/util/ObjRS.java index cd8360d612dd4dbfb5301d25055c19120155b319..8001abdb6f7f580dab41d2a6656ee5b2014c440b 100644 --- a/src/com/octetstring/jdbcLdap/util/ObjRS.java +++ b/src/com/octetstring/jdbcLdap/util/ObjRS.java @@ -600,6 +600,13 @@ public class ObjRS implements ResultSet, Serializable { return null; } + /** + * @see java.sql.ResultSet#getObject(int, Class<T>) + */ + public <T>T getObject(int columnIndex, Class<T> type) throws SQLException { + throw new SQLException("Not implemented"); + } + /** * @see java.sql.ResultSet#getObject(String) */ @@ -607,6 +614,13 @@ public class ObjRS implements ResultSet, Serializable { return null; } + /** + * @see java.sql.ResultSet#getObject(String, Class<T>) + */ + public <T>T getObject(String columnName, Class<T> type) throws SQLException { + throw new SQLException("Not implemented"); + } + /** * @see java.sql.ResultSet#findColumn(String) */ @@ -1392,9 +1406,9 @@ public class ObjRS implements ResultSet, Serializable { } /** - * @see java.sql.ResultSet#getObject(int, Map) + * @see java.sql.ResultSet#getObject(int, Map<String, Class<?>>) */ - public Object getObject(int i, Map map) throws SQLException { + public Object getObject(int i, Map<String, Class<?>> map) throws SQLException { return null; } @@ -1427,9 +1441,9 @@ public class ObjRS implements ResultSet, Serializable { } /** - * @see java.sql.ResultSet#getObject(String, Map) + * @see java.sql.ResultSet#getObject(String, Map<String, Class<?>>) */ - public Object getObject(String colName, Map map) throws SQLException { + public Object getObject(String colName, Map<String, Class<?>> map) throws SQLException { return null; }