Class JDBC3PreparedStatement

    • Constructor Detail

      • JDBC3PreparedStatement

        protected JDBC3PreparedStatement​(SQLiteConnection conn,
                                         java.lang.String sql)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • clearParameters

        public void clearParameters()
                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.clearParameters()
      • execute

        public boolean execute()
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.execute()
      • executeQuery

        public java.sql.ResultSet executeQuery()
                                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.executeQuery()
      • executeUpdate

        public int executeUpdate()
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.executeUpdate()
      • addBatch

        public void addBatch()
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.addBatch()
      • getParameterMetaData

        public java.sql.ParameterMetaData getParameterMetaData()
        See Also:
        PreparedStatement.getParameterMetaData()
      • getParameterCount

        public int getParameterCount()
                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        ParameterMetaData.getParameterCount()
      • getParameterClassName

        public java.lang.String getParameterClassName​(int param)
                                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        ParameterMetaData.getParameterClassName(int)
      • getParameterTypeName

        public java.lang.String getParameterTypeName​(int pos)
        See Also:
        ParameterMetaData.getParameterTypeName(int)
      • getParameterType

        public int getParameterType​(int pos)
        See Also:
        ParameterMetaData.getParameterType(int)
      • getParameterMode

        public int getParameterMode​(int pos)
        See Also:
        ParameterMetaData.getParameterMode(int)
      • getPrecision

        public int getPrecision​(int pos)
        See Also:
        ParameterMetaData.getPrecision(int)
      • getScale

        public int getScale​(int pos)
        See Also:
        ParameterMetaData.getScale(int)
      • isNullable

        public int isNullable​(int pos)
        See Also:
        ParameterMetaData.isNullable(int)
      • isSigned

        public boolean isSigned​(int pos)
        See Also:
        ParameterMetaData.isSigned(int)
      • getStatement

        public java.sql.Statement getStatement()
        Returns:
      • setBigDecimal

        public void setBigDecimal​(int pos,
                                  java.math.BigDecimal value)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setBigDecimal(int, java.math.BigDecimal)
      • setBinaryStream

        public void setBinaryStream​(int pos,
                                    java.io.InputStream istream,
                                    int length)
                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setBinaryStream(int, java.io.InputStream, int)
      • setAsciiStream

        public void setAsciiStream​(int pos,
                                   java.io.InputStream istream,
                                   int length)
                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setAsciiStream(int, java.io.InputStream, int)
      • setUnicodeStream

        public void setUnicodeStream​(int pos,
                                     java.io.InputStream istream,
                                     int length)
                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setUnicodeStream(int, java.io.InputStream, int)
      • setBoolean

        public void setBoolean​(int pos,
                               boolean value)
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setBoolean(int, boolean)
      • setByte

        public void setByte​(int pos,
                            byte value)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setByte(int, byte)
      • setBytes

        public void setBytes​(int pos,
                             byte[] value)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setBytes(int, byte[])
      • setDouble

        public void setDouble​(int pos,
                              double value)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setDouble(int, double)
      • setFloat

        public void setFloat​(int pos,
                             float value)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setFloat(int, float)
      • setInt

        public void setInt​(int pos,
                           int value)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setInt(int, int)
      • setLong

        public void setLong​(int pos,
                            long value)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setLong(int, long)
      • setNull

        public void setNull​(int pos,
                            int u1)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setNull(int, int)
      • setNull

        public void setNull​(int pos,
                            int u1,
                            java.lang.String u2)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setNull(int, int, java.lang.String)
      • setObject

        public void setObject​(int pos,
                              java.lang.Object value)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setObject(int, java.lang.Object)
      • setObject

        public void setObject​(int p,
                              java.lang.Object v,
                              int t)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setObject(int, java.lang.Object, int)
      • setObject

        public void setObject​(int p,
                              java.lang.Object v,
                              int t,
                              int s)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setObject(int, java.lang.Object, int, int)
      • setShort

        public void setShort​(int pos,
                             short value)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setShort(int, short)
      • setString

        public void setString​(int pos,
                              java.lang.String value)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setString(int, java.lang.String)
      • setCharacterStream

        public void setCharacterStream​(int pos,
                                       java.io.Reader reader,
                                       int length)
                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setCharacterStream(int, java.io.Reader, int)
      • setDate

        public void setDate​(int pos,
                            java.sql.Date x)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setDate(int, java.sql.Date)
      • setDate

        public void setDate​(int pos,
                            java.sql.Date x,
                            java.util.Calendar cal)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setDate(int, java.sql.Date, java.util.Calendar)
      • setTime

        public void setTime​(int pos,
                            java.sql.Time x)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setTime(int, java.sql.Time)
      • setTime

        public void setTime​(int pos,
                            java.sql.Time x,
                            java.util.Calendar cal)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setTime(int, java.sql.Time, java.util.Calendar)
      • setTimestamp

        public void setTimestamp​(int pos,
                                 java.sql.Timestamp x)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setTimestamp(int, java.sql.Timestamp)
      • setTimestamp

        public void setTimestamp​(int pos,
                                 java.sql.Timestamp x,
                                 java.util.Calendar cal)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.setTimestamp(int, java.sql.Timestamp, java.util.Calendar)
      • getMetaData

        public java.sql.ResultSetMetaData getMetaData()
                                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
        See Also:
        PreparedStatement.getMetaData()
      • setArray

        public void setArray​(int i,
                             java.sql.Array x)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setBlob

        public void setBlob​(int i,
                            java.sql.Blob x)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setClob

        public void setClob​(int i,
                            java.sql.Clob x)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setRef

        public void setRef​(int i,
                           java.sql.Ref x)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setURL

        public void setURL​(int pos,
                           java.net.URL x)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • executeQuery

        public java.sql.ResultSet executeQuery​(java.lang.String sql)
                                        throws java.sql.SQLException
        Specified by:
        executeQuery in interface java.sql.Statement
        Overrides:
        executeQuery in class JDBC3Statement
        Throws:
        java.sql.SQLException
        See Also:
        CoreStatement.exec(String)
      • addBatch

        public void addBatch​(java.lang.String sql)
                      throws java.sql.SQLException
        Specified by:
        addBatch in interface java.sql.Statement
        Overrides:
        addBatch in class JDBC3Statement
        Throws:
        java.sql.SQLException
        See Also:
        Statement.addBatch(java.lang.String)