20230629 java.sql.PreparedStatement

介绍

  • java.sql.PreparedStatement
  • public interface PreparedStatement extends Statement
  • 预备语句

API

public

  • addBatch

  • clearParameters

  • getMetaData

    • 结果集元数据
    • ResultSetMetaData
  • getParameterMetaData

    • 预备语句参数的元数据
    • ParameterMetaData

execute

  • execute
  • executeLargeUpdate
  • executeQuery
  • executeUpdate

set

  • setArray
  • setAsciiStream
  • setBigDecimal
  • setBinaryStream
  • setBlob
  • setBoolean
  • setByte
  • setBytes
  • setCharacterStream
  • setClob
  • setDate
  • setDouble
  • setFloat
  • setInt
  • setLong
  • setNCharacterStream
  • setNClob
  • setNString
  • setNull
  • setObject
  • setRef
  • setRowId
  • setSQLXML
  • setShort
  • setString
  • setTime
  • setTimestamp
  • setURL
posted @ 2023-08-28 09:47  流星<。)#)))≦  阅读(6)  评论(0编辑  收藏  举报