Author: kostat
Date: 2005-05-01 12:56:56 -0400 (Sun, 01 May 2005)
New Revision: 43850

Removed:
   
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/CallableStatementWrapper.cs
   
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnection.cs
   
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionDriver.cs
   
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionPool.cs
   
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/ParameterMetadataWrapper.cs
Log:
delete obsolete files

Deleted: 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/CallableStatementWrapper.cs
===================================================================
--- 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/CallableStatementWrapper.cs
  2005-05-01 16:52:03 UTC (rev 43849)
+++ 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/CallableStatementWrapper.cs
  2005-05-01 16:56:56 UTC (rev 43850)
@@ -1,320 +0,0 @@
-using System;
-
-using java.sql;
-using java.util;
-
-namespace System.Data.Common
-{
-       public class CallableStatementWrapper : ResultSet
-       {
-               #region Fields
-
-               CallableStatement _callableStatement;
-
-               #endregion // Fields
-
-               #region Constructors
-
-               public CallableStatementWrapper(CallableStatement 
callableStatement)
-               {
-                       _callableStatement = callableStatement;
-               }
-
-               #endregion // constructors
-
-               #region Methods
-
-               public int getConcurrency() { throw new 
NotImplementedException(); }
-
-               public int getFetchDirection() { throw new 
NotImplementedException(); }
-
-               public int getFetchSize()  { throw new 
NotImplementedException(); }
-
-               public int getRow()  { throw new NotImplementedException(); }
-
-               public int getType()  { throw new NotImplementedException(); }
-
-               public void afterLast()  { throw new NotImplementedException(); 
}
-
-               public void beforeFirst()  { throw new 
NotImplementedException(); }
-
-               public void cancelRowUpdates()  { throw new 
NotImplementedException(); }
-
-               public void clearWarnings()  { throw new 
NotImplementedException(); }
-
-               public void close()  { throw new NotImplementedException(); }
-
-               public void deleteRow()  { throw new NotImplementedException(); 
}
-
-               public void insertRow()  { throw new NotImplementedException(); 
}
-
-               public void moveToCurrentRow()  { throw new 
NotImplementedException(); }
-
-               public void moveToInsertRow()  { throw new 
NotImplementedException(); }
-
-               public void refreshRow()  { throw new 
NotImplementedException(); }
-
-               public void updateRow()  { throw new NotImplementedException(); 
}
-
-               public bool first()  { throw new NotImplementedException(); }
-
-               public bool isAfterLast()  { throw new 
NotImplementedException(); }
-
-               public bool isBeforeFirst()  { throw new 
NotImplementedException(); }
-
-               public bool isFirst()  { throw new NotImplementedException(); }
-
-               public bool isLast()  { throw new NotImplementedException(); }
-
-               public bool last()  { throw new NotImplementedException(); }
-
-               public bool next()  { throw new NotImplementedException(); }
-
-               public bool previous()  { throw new NotImplementedException(); }
-
-               public bool rowDeleted()  { throw new 
NotImplementedException(); }
-
-               public bool rowInserted()  { throw new 
NotImplementedException(); }
-
-               public bool rowUpdated()  { throw new 
NotImplementedException(); }
-
-               public bool wasNull()  { return _callableStatement.wasNull(); }
-
-               public sbyte getByte(int i) { return 
_callableStatement.getByte(i); } 
-
-               public double getDouble(int i)  { return 
_callableStatement.getDouble(i); } 
-
-               public float getFloat(int i)  { return 
_callableStatement.getFloat(i); } 
-
-               public int getInt(int i)  { return 
_callableStatement.getInt(i); }
-
-               public long getLong(int i)  { return 
_callableStatement.getLong(i); }
-
-               public short getShort(int i)  { return 
_callableStatement.getShort(i); }
-
-               public void setFetchDirection(int i)  { throw new 
NotImplementedException(); }
-
-               public void setFetchSize(int i)  { throw new 
NotImplementedException(); }
-
-               public void updateNull(int i)  { throw new 
NotImplementedException(); }
-
-               public bool absolute(int i)  { throw new 
NotImplementedException(); }
-
-               public bool getBoolean(int i)  { return 
_callableStatement.getBoolean(i); }
-
-               public bool relative(int i)  { throw new 
NotImplementedException(); }
-
-               public sbyte[] getBytes(int i)  { return 
_callableStatement.getBytes(i); }
-
-               public void updateByte(int i, sbyte b)  { throw new 
NotImplementedException(); }
-
-               public void updateDouble(int i, double v)  { throw new 
NotImplementedException(); }
-
-               public void updateFloat(int i, float v)  { throw new 
NotImplementedException(); }
-
-               public void updateInt(int i, int i1)  { throw new 
NotImplementedException(); }
-
-               public void updateLong(int i, long l)  { throw new 
NotImplementedException(); }
-
-               public void updateShort(int i, short i1)  { throw new 
NotImplementedException(); }
-
-               public void updateBoolean(int i, bool b)  { throw new 
NotImplementedException(); }
-
-               public void updateBytes(int i, sbyte[] bytes)  { throw new 
NotImplementedException(); }
-
-               public java.io.InputStream getAsciiStream(int i) { throw new 
NotImplementedException(); }
-
-               public java.io.InputStream getBinaryStream(int i)  { throw new 
NotImplementedException(); }
-
-               /**
-               * @deprecated
-               */
-               public java.io.InputStream getUnicodeStream(int i)  { throw new 
NotImplementedException(); }
-
-               public void updateAsciiStream(int i, java.io.InputStream 
inputStream, int i1)  { throw new NotImplementedException(); }
-
-               public void updateBinaryStream(int i, java.io.InputStream 
inputStream, int i1)  { throw new NotImplementedException(); }
-
-               public java.io.Reader getCharacterStream(int i)  { throw new 
NotImplementedException(); }
-
-               public void updateCharacterStream(int i, java.io.Reader reader, 
int i1)  { throw new NotImplementedException(); }
-
-               public Object getObject(int i)  { return 
_callableStatement.getObject(i); }
-
-               public void updateObject(int i, Object o)  { throw new 
NotImplementedException(); }
-
-               public void updateObject(int i, Object o, int i1)  { throw new 
NotImplementedException(); }
-
-               public String getCursorName()  { throw new 
NotImplementedException(); }
-
-               public String getString(int i)  { return 
_callableStatement.getString(i); }
-
-               public void updateString(int i, String s)  { throw new 
NotImplementedException(); }
-
-               public sbyte getByte(String s)  { return 
_callableStatement.getByte(s); }
-
-               public double getDouble(String s)  { return 
_callableStatement.getDouble(s); }
-
-               public float getFloat(String s)  { return 
_callableStatement.getFloat(s); }
-
-               public int findColumn(String s)  { throw new 
NotImplementedException(); }
-
-               public int getInt(String s)  { return 
_callableStatement.getInt(s); }
-
-               public long getLong(String s)  { return 
_callableStatement.getLong(s); }
-
-               public short getShort(String s) { return 
_callableStatement.getShort(s); } 
-
-               public void updateNull(String s)  { throw new 
NotImplementedException(); }
-
-               public bool getBoolean(String s)  { return 
_callableStatement.getBoolean(s); }
-
-               public sbyte[] getBytes(String s)  { return 
_callableStatement.getBytes(s); }
-
-               public void updateByte(String s, sbyte b)  { throw new 
NotImplementedException(); }
-
-               public void updateDouble(String s, double v)  { throw new 
NotImplementedException(); }
-
-               public void updateFloat(String s, float v)  { throw new 
NotImplementedException(); }
-
-               public void updateInt(String s, int i)  { throw new 
NotImplementedException(); }
-
-               public void updateLong(String s, long l)  { throw new 
NotImplementedException(); }
-
-               public void updateShort(String s, short i)  { throw new 
NotImplementedException(); }
-
-               public void updateBoolean(String s, bool b)  { throw new 
NotImplementedException(); }
-
-               public void updateBytes(String s, sbyte[] bytes)  { throw new 
NotImplementedException(); }
-
-               public java.math.BigDecimal getBigDecimal(int i)  { return 
_callableStatement.getBigDecimal(i); }
-
-               /**
-               * @deprecated
-               */
-               public java.math.BigDecimal getBigDecimal(int i, int i1)  { 
throw new NotImplementedException(); }
-
-               public void updateBigDecimal(int i, java.math.BigDecimal 
bigDecimal)  { throw new NotImplementedException(); }
-
-               public java.net.URL getURL(int i)  { throw new 
NotImplementedException(); }
-
-               public java.sql.Array getArray(int i)  { return 
_callableStatement.getArray(i); }
-
-               public void updateArray(int i, java.sql.Array array)  { throw 
new NotImplementedException(); }
-
-               public Blob getBlob(int i)  { return 
_callableStatement.getBlob(i); }
-
-               public void updateBlob(int i, Blob blob)  { throw new 
NotImplementedException(); }
-
-               public Clob getClob(int i)  { return 
_callableStatement.getClob(i); }
-
-               public void updateClob(int i, Clob clob)  { throw new 
NotImplementedException(); }
-
-               public java.sql.Date getDate(int i)  { return 
_callableStatement.getDate(i); }
-
-               public void updateDate(int i, java.sql.Date date)  { throw new 
NotImplementedException(); }
-
-               public Ref getRef(int i)  { return 
_callableStatement.getRef(i); }
-
-               public void updateRef(int i, Ref rf)  { throw new 
NotImplementedException(); }
-
-               public ResultSetMetaData getMetaData()  { throw new 
NotImplementedException(); }
-
-               public SQLWarning getWarnings()  { throw new 
NotImplementedException(); }
-
-               public Statement getStatement()  { throw new 
NotImplementedException(); }
-
-               public Time getTime(int i)  { return 
_callableStatement.getTime(i); }
-
-               public void updateTime(int i, Time time)  { throw new 
NotImplementedException(); }
-
-               public Timestamp getTimestamp(int i)  { return 
_callableStatement.getTimestamp(i); }
-
-               public void updateTimestamp(int i, Timestamp timestamp)  { 
throw new NotImplementedException(); }
-
-               public java.io.InputStream getAsciiStream(String s)  { throw 
new NotImplementedException(); }
-
-               public java.io.InputStream getBinaryStream(String s)  { throw 
new NotImplementedException(); }
-
-               /**
-               * @deprecated
-               */
-               public java.io.InputStream getUnicodeStream(String s)  { throw 
new NotImplementedException(); }
-
-               public void updateAsciiStream(String s, java.io.InputStream 
inputStream, int i) { throw new NotImplementedException(); } 
-
-               public void updateBinaryStream(String s, java.io.InputStream 
inputStream, int i)  { throw new NotImplementedException(); }
-
-               public java.io.Reader getCharacterStream(String s)  { throw new 
NotImplementedException(); }
-
-               public void updateCharacterStream(String s, java.io.Reader 
reader, int i)  { throw new NotImplementedException(); }
-
-               public Object getObject(String s)  { return 
_callableStatement.getObject(s); }
-
-               public void updateObject(String s, Object o)  { throw new 
NotImplementedException(); }
-
-               public void updateObject(String s, Object o, int i)  { throw 
new NotImplementedException(); }
-
-               public Object getObject(int i, Map map)  { throw new 
NotImplementedException(); }
-
-               public String getString(String s)  { return 
_callableStatement.getString(s); }
-
-               public void updateString(String s, String s1)  { throw new 
NotImplementedException(); }
-
-               public java.math.BigDecimal getBigDecimal(String s)  { return 
_callableStatement.getBigDecimal(s); }
-
-               /**
-               * @deprecated
-               */
-               public java.math.BigDecimal getBigDecimal(String s, int i)  { 
throw new NotImplementedException(); }
-
-               public void updateBigDecimal(String s, java.math.BigDecimal 
bigDecimal)  { throw new NotImplementedException(); }
-
-               public java.net.URL getURL(String s)  { throw new 
NotImplementedException(); }
-
-               public java.sql.Array getArray(String s)  { return 
_callableStatement.getArray(s); }
-
-               public void updateArray(String s, java.sql.Array array)  { 
throw new NotImplementedException(); }
-
-               public Blob getBlob(String s)  { return 
_callableStatement.getBlob(s); }
-
-               public void updateBlob(String s, Blob blob)  { throw new 
NotImplementedException(); }
-
-               public Clob getClob(String s)  { return 
_callableStatement.getClob(s); }
-
-               public void updateClob(String s, Clob clob)  { throw new 
NotImplementedException(); }
-
-               public java.sql.Date getDate(String s)  { return 
_callableStatement.getDate(s); }
-
-               public void updateDate(String s, java.sql.Date date)  { throw 
new NotImplementedException(); }
-
-               public java.sql.Date getDate(int i, Calendar calendar)  { throw 
new NotImplementedException(); }
-
-               public Ref getRef(String s)  { return 
_callableStatement.getRef(s); }
-
-               public void updateRef(String s, Ref rf)  { throw new 
NotImplementedException(); }
-
-               public Time getTime(String s)  { return 
_callableStatement.getTime(s); }
-
-               public void updateTime(String s, Time time)  { throw new 
NotImplementedException(); }
-
-               public Time getTime(int i, Calendar calendar)  { throw new 
NotImplementedException(); }
-
-               public Timestamp getTimestamp(String s)  { return 
_callableStatement.getTimestamp(s); }
-
-               public void updateTimestamp(String s, Timestamp timestamp)  { 
throw new NotImplementedException(); }
-
-               public Timestamp getTimestamp(int i, Calendar calendar)  { 
throw new NotImplementedException(); }
-
-               public Object getObject(String s, Map map)  { throw new 
NotImplementedException(); }
-
-               public java.sql.Date getDate(String s, Calendar calendar)  { 
throw new NotImplementedException(); }
-
-               public Time getTime(String s, Calendar calendar)  { throw new 
NotImplementedException(); }
-
-               public Timestamp getTimestamp(String s, Calendar calendar)  { 
throw new NotImplementedException(); }
-
-               #endregion // Methods
-               
-       }
-}

Deleted: 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnection.cs
===================================================================
--- 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnection.cs
     2005-05-01 16:52:03 UTC (rev 43849)
+++ 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnection.cs
     2005-05-01 16:56:56 UTC (rev 43850)
@@ -1,271 +0,0 @@
-namespace System.Data.Common
-{
-
-    using java.sql;
-    using java.util;
-
-    using System;
-
-    public class JDCConnection : Connection
-    {
-
-        private JDCConnectionPool pool;
-        private Connection conn;
-        private bool inuse;
-        private long timestamp;
-
-
-        public JDCConnection(Connection conn, JDCConnectionPool pool)
-        {
-            this.conn=conn;
-            this.pool=pool;
-            this.inuse=false;
-            this.timestamp=0;
-        }
-
-        public bool lease()
-            
-        {
-            lock(this)
-            {
-                if(inuse)
-                {
-                    return false;
-                }
-                else
-                {
-                    inuse=true;
-                    timestamp = java.lang.System.currentTimeMillis();
-                    return true;
-                }
-            }
-        }
-        public bool validate()
-        {
-            try
-            {
-                conn.getMetaData();
-            }
-            catch (Exception)
-            {
-                return false;
-            }
-
-            return true;
-        }
-
-        public bool inUse()
-        {
-            return inuse;
-        }
-
-        public long getLastUse()
-        {
-            return timestamp;
-        }
-
-        public void close() //throws SQLException
-        {
-            pool.returnConnection(this);
-        }
-
-        public void expireLease()
-        {
-            inuse=false;
-        }
-
-        protected Connection getConnection()
-        {
-            return conn;
-        }
-
-        public void setTypeMap(Map map) //throws SQLException
-        {
-            conn.setTypeMap(map);
-        }
-
-
-        public Map getTypeMap() //throws SQLException
-        {
-            return conn.getTypeMap();
-        }
-
-        public PreparedStatement prepareStatement(String sql) //throws 
SQLException
-        {
-            return conn.prepareStatement(sql);
-        }
-
-        public PreparedStatement prepareStatement(String sql, int 
resultSetType, int resultSetConcurrency) //throws SQLException
-        {
-            return conn.prepareStatement(sql, resultSetType, 
resultSetConcurrency);
-        }
-
-        public CallableStatement prepareCall(String sql) //throws SQLException
-        {
-            return conn.prepareCall(sql);
-        }
-
-
-        public CallableStatement prepareCall(String sql, int resultSetType, 
int resultSetConcurrency) //throws SQLException
-        {
-            return conn.prepareCall(sql, resultSetType, resultSetConcurrency);
-        }
-
-
-        public Statement createStatement(int resultSetType, int 
resultSetConcurrency) //throws SQLException
-        {
-            return conn.createStatement(resultSetType, resultSetConcurrency);
-        }
-
-        public Statement createStatement() //throws SQLException
-        {
-            return conn.createStatement();
-        }
-
-        public String nativeSQL(String sql) //throws SQLException
-        {
-            return conn.nativeSQL(sql);
-        }
-
-        public void setAutoCommit(bool autoCommit) //throws SQLException
-        {
-            conn.setAutoCommit(autoCommit);
-        }
-
-        public bool getAutoCommit() //throws SQLException
-        {
-            return conn.getAutoCommit();
-        }
-
-        public void commit() //throws SQLException
-        {
-            conn.commit();
-        }
-
-        public void rollback() //throws SQLException
-        {
-            conn.rollback();
-        }
-
-        public bool isClosed() //throws SQLException
-        {
-            if(conn.isClosed())
-                return true;
-
-            return !inUse();
-        }
-
-        public DatabaseMetaData getMetaData() //throws SQLException
-        {
-            return conn.getMetaData();
-        }
-
-        public void setReadOnly(bool readOnly) //throws SQLException
-        {
-            conn.setReadOnly(readOnly);
-        }
-
-        public bool isReadOnly()// throws SQLException
-        {
-            return conn.isReadOnly();
-        }
-
-        public void setCatalog(String catalog) //throws SQLException
-        {
-            conn.setCatalog(catalog);
-        }
-
-        public String getCatalog() //throws SQLException
-        {
-            return conn.getCatalog();
-        }
-
-        public void setTransactionIsolation(int level) //throws SQLException
-        {
-            conn.setTransactionIsolation(level);
-        }
-
-        public int getTransactionIsolation() //throws SQLException
-        {
-            return conn.getTransactionIsolation();
-        }
-
-        public SQLWarning getWarnings() //throws SQLException
-        {
-            return conn.getWarnings();
-        }
-
-        public void clearWarnings() //throws SQLException
-        {
-            conn.clearWarnings();
-        }
-
-        // --------- JDBC 3.0 -------------
-        /*
-        public void setHoldability(int holdability)
-        {
-            conn.setHoldability(holdability);
-        }
-        
-        public int getHoldability()
-        {
-            return conn.getHoldability();
-        }
-
-        public Savepoint setSavepoint()
-        {
-            return conn.setSavepoint();
-        }
-
-        public Savepoint setSavepoint(string name)
-        {
-            return conn.setSavepoint(name);
-        }
-
-        public void rollback(Savepoint savepoint)
-        {
-            conn.rollback(savepoint);
-        }
-
-        public void releaseSavepoint(Savepoint savepoint)
-        {
-            conn.releaseSavepoint(savepoint);
-        }
-
-        public Statement createStatement(int resultSetType, int 
resultSetConcurrency, 
-            int resultSetHoldability)
-        {
-            return conn.createStatement(resultSetType, resultSetConcurrency, 
resultSetHoldability);
-        }
-
-        public PreparedStatement prepareStatement(String sql, int 
resultSetType, 
-            int resultSetConcurrency, int resultSetHoldability)
-        {
-            throw new NotImplementedException();
-        }
-
-        public CallableStatement prepareCall(String sql, int resultSetType, 
-            int resultSetConcurrency, 
-            int resultSetHoldability)
-        {
-            return conn.prepareCall(sql, resultSetType, resultSetConcurrency, 
resultSetHoldability);
-        }
-
-        public PreparedStatement prepareStatement(String sql, int 
autoGeneratedKeys)
-        {
-            return conn.prepareStatement(sql, autoGeneratedKeys);
-        }
-
-        public PreparedStatement prepareStatement(String sql, int[] 
columnIndexes)
-        {
-            return conn.prepareStatement(sql, columnIndexes);
-        }
-
-        public PreparedStatement prepareStatement(String sql, String[] 
columnNames)
-        {
-            return conn.prepareStatement(sql, columnNames);
-        }
-
-        */
-    }
-}
\ No newline at end of file

Deleted: 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionDriver.cs
===================================================================
--- 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionDriver.cs
       2005-05-01 16:52:03 UTC (rev 43849)
+++ 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionDriver.cs
       2005-05-01 16:56:56 UTC (rev 43850)
@@ -1,63 +0,0 @@
-namespace System.Data.Common
-{
-
-using java.sql;
-using java.util;
-
-
-class JDCConnectionDriver : Driver
-{
-
-    public static readonly String URL_PREFIX = "jdbc:jdc:";
-    private static readonly int MAJOR_VERSION = 1;
-    private static readonly int MINOR_VERSION = 0;
-    private JDCConnectionPool pool;
-
-    public JDCConnectionDriver(String driver, String url,
-                                 String user, String password)
-                            //throws ClassNotFoundException,
-                              // InstantiationException, 
IllegalAccessException,
-                                //SQLException
-    {
-        DriverManager.registerDriver(this);
-        java.lang.Class.forName(driver).newInstance();
-        pool = new JDCConnectionPool(url, user, password);
-    }
-
-    public Connection connect(String url, Properties props)
-                                      // throws SQLException
-    {
-        if(!url.StartsWith(URL_PREFIX))
-        {
-             return null;
-        }
-
-        return pool.getConnection();
-    }
-
-    public bool acceptsURL(String url)
-    {
-        return url.StartsWith(URL_PREFIX);
-    }
-
-    public int getMajorVersion()
-    {
-        return MAJOR_VERSION;
-    }
-
-    public int getMinorVersion()
-    {
-        return MINOR_VERSION;
-    }
-
-    public DriverPropertyInfo[] getPropertyInfo(String str, Properties props)
-    {
-        return new DriverPropertyInfo[0];
-    }
-
-    public bool jdbcCompliant()
-    {
-        return false;
-    }
-}
-}
\ No newline at end of file

Deleted: 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionPool.cs
===================================================================
--- 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionPool.cs
 2005-05-01 16:52:03 UTC (rev 43849)
+++ 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/JDCConnectionPool.cs
 2005-05-01 16:56:56 UTC (rev 43850)
@@ -1,88 +0,0 @@
-namespace System.Data.Common
-{
-
-    using java.sql;
-    using java.util;
-
-
-    public class JDCConnectionPool
-    {
-
-        private ArrayList _connections;
-        private String _url, _user, _password;
-        readonly private long timeout = 10000;
-        readonly private int _initPoolsize = 10;
-        private int _maxPoolSize = 100;
-        private static bool _shutdown = false; 
-
-        public JDCConnectionPool(String url, String user, String password)
-        {
-            _url = url;
-            _user = user;
-            _password = password;
-            _connections = new ArrayList(_initPoolsize);
-        }
-
-    
-        public void closeConnections()
-        {
-            lock(this)
-            {
-                if(_connections.size() > 0)
-                {
-                    Iterator connlist = _connections.iterator();
-    
-                    while (connlist.hasNext())
-                    {
-                        JDCConnection conn = (JDCConnection) connlist.next();
-                        removeConnection(conn);
-                    }
-                }
-            }
-        }
-
-        private  void removeConnection(JDCConnection conn)
-        {
-            lock(this)
-            {
-                _connections.remove(conn);
-            }
-        }
-
-        public Connection getConnection() //throws SQLException
-                                          {
-                                              lock(this)
-    {
-
-        JDCConnection c;
-        for (int i = 0; i < _connections.size(); i++)
-    {
-        c = (JDCConnection) _connections.get(i);
-                       
-        if (c.lease())
-        return c;
-    }
-        
-    if(_connections.size() < _maxPoolSize)
-{
-    Connection conn = DriverManager.getConnection(_url, _user, _password);
-    c = new JDCConnection(conn, this);
-    c.lease();
-    _connections.add(c);
-    return c;
-}
-        
-    return null;
-}
-       }
-
-       public void returnConnection(JDCConnection conn)
-       {
-        lock(this)
-        {
-            conn.expireLease();
-        }
-       }
-    
-}
-}
\ No newline at end of file

Deleted: 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/ParameterMetadataWrapper.cs
===================================================================
--- 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/ParameterMetadataWrapper.cs
  2005-05-01 16:52:03 UTC (rev 43849)
+++ 
branches/Mainsoft.System.Data/mcs/class/System.Data/System.Data.Common/ParameterMetadataWrapper.cs
  2005-05-01 16:56:56 UTC (rev 43850)
@@ -1,70 +0,0 @@
-using System;
-
-using java.sql;
-
-namespace System.Data.Common
-{
-       public class ParameterMetadataWrapper : java.sql.ResultSetMetaData
-       {
-               #region Fields 
-
-               ParameterMetaData _parameterMetaData;
-
-               #endregion // Fields
-
-               #region Constructors
-
-               public ParameterMetadataWrapper(ParameterMetaData 
parameterMetaData)
-               {
-                       _parameterMetaData = parameterMetaData;
-               }
-
-               #endregion // Constructors
-
-               #region Methods
-
-               public int getColumnCount() { throw new 
NotImplementedException(); }
-
-               public int getColumnDisplaySize(int i) { throw new 
NotImplementedException(); }
-
-               public int getColumnType(int i) { throw new 
NotImplementedException(); }
-
-               public int getPrecision(int i) { throw new 
NotImplementedException(); }
-
-               public int getScale(int i) { throw new 
NotImplementedException(); }
-
-               public int isNullable(int i) { throw new 
NotImplementedException(); }
-
-               public bool isAutoIncrement(int i) { throw new 
NotImplementedException(); }
-
-               public bool isCaseSensitive(int i) { throw new 
NotImplementedException(); }
-
-               public bool isCurrency(int i) { throw new 
NotImplementedException(); }
-
-               public bool isDefinitelyWritable(int i) { throw new 
NotImplementedException(); }
-
-               public bool isReadOnly(int i) { throw new 
NotImplementedException(); }
-
-               public bool isSearchable(int i) { throw new 
NotImplementedException(); }
-
-               public bool isSigned(int i) { throw new 
NotImplementedException(); }
-
-               public bool isWritable(int i) { throw new 
NotImplementedException(); }
-
-               public String getCatalogName(int i) { throw new 
NotImplementedException(); }
-
-               public String getColumnClassName(int i) { throw new 
NotImplementedException(); }
-
-               public String getColumnLabel(int i) { throw new 
NotImplementedException(); }
-
-               public String getColumnName(int i) { throw new 
NotImplementedException(); }
-
-               public String getColumnTypeName(int i) { return 
_parameterMetaData.getParameterTypeName(i); }
-
-               public String getSchemaName(int i) { throw new 
NotImplementedException(); }
-
-               public String getTableName(int i) { throw new 
NotImplementedException(); }
-
-               #endregion // Methods
-       }
-}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to