import java.sql.Types;
import java.util.Vector;
-/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Statement.java,v 1.23 2003/05/29 04:48:33 barry Exp $
+/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Statement.java,v 1.24 2003/05/29 04:52:44 barry Exp $
* This class defines methods of the jdbc1 specification. This class is
* extended by org.postgresql.jdbc2.AbstractJdbc2Statement which adds the jdbc2
* methods. The real Statement class (for jdbc1) is org.postgresql.jdbc1.Jdbc1Statement
v.addElement(l_sql.substring (lastParmEnd, l_sql.length()));
m_sqlFragments = new String[v.size()];
- m_binds = new String[v.size() - 1];
+ m_binds = new Object[v.size() - 1];
m_bindTypes = new String[v.size() - 1];
for (i = 0 ; i < m_sqlFragments.length; ++i)
import org.postgresql.largeobject.*;
import org.postgresql.util.PSQLException;
-/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.13 2003/03/14 01:21:47 barry Exp $
+/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.14 2003/05/29 04:52:44 barry Exp $
* This class defines methods of the jdbc2 specification. This class extends
* org.postgresql.jdbc1.AbstractJdbc1Statement which provides the jdbc1
* methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2Statement
l_newSqlFragments = new String[m_sqlFragments.length];
System.arraycopy(m_sqlFragments,0,l_newSqlFragments,0,m_sqlFragments.length);
}
- Object[] l_newBinds = new String[m_binds.length];
+ Object[] l_newBinds = new Object[m_binds.length];
System.arraycopy(m_binds,0,l_newBinds,0,m_binds.length);
String[] l_newBindTypes = new String[m_bindTypes.length];
System.arraycopy(m_bindTypes,0,l_newBindTypes,0,m_bindTypes.length);