PreparedStatement class

Represents a pre-compiled SQL statement with or without IN parameters. Created at runtime using Connection.prepareStatement.

This object can then be used to efficiently execute this statements multiple times.

When a prepared statement is closed, all ResultSet and ResultSetSchema objects associated with it are also closed. For resource management reasons, it is preferred that you explicitly close prepared statements when you are done with them.


appendBytesParameter method
appendStringChunkParameter method
close method
executeQuery method
executeStatement method
getPlan method
getResultSetSchema method
hasResultSet method
isOpen method
setBooleanParameter method
setBytesParameter method
setDateParameter method
setDoubleParameter method
setFloatParameter method
setIntParameter method
setLongParameter method
setNullParameter method
setShortParameter method
setStringParameter method
setTimeParameter method
setTimestampParameter method
setULongParameter method
setUUIDParameter method