Class ClientPreparedStatement42

    • Constructor Detail

      • ClientPreparedStatement42

        public ClientPreparedStatement42​(Agent agent,
                                         ClientConnection connection,
                                         java.lang.String sql,
                                         Section section,
                                         ClientPooledConnection cpc)
                                  throws SqlException
        The PreparedStatement used for JDBC 4.2 positioned update statements. Called by material statement constructors. It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed
        Throws:
        SqlException
      • ClientPreparedStatement42

        public ClientPreparedStatement42​(Agent agent,
                                         ClientConnection connection,
                                         java.lang.String sql,
                                         int type,
                                         int concurrency,
                                         int holdability,
                                         int autoGeneratedKeys,
                                         java.lang.String[] columnNames,
                                         int[] columnIndexes,
                                         ClientPooledConnection cpc)
                                  throws SqlException
        The PreparedStatementConstructor used for jdbc 4.2 prepared statements with scroll attributes. Called by material statement constructors. It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed
        Throws:
        SqlException
    • Method Detail

      • setObject

        public void setObject​(int parameterIndex,
                              java.lang.Object x,
                              java.sql.SQLType targetSqlType)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setObject

        public void setObject​(int parameterIndex,
                              java.lang.Object x,
                              java.sql.SQLType targetSqlType,
                              int scaleOrLength)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException