Class JtdsPreparedStatement

java.lang.Object
net.sourceforge.jtds.jdbc.JtdsStatement
net.sourceforge.jtds.jdbc.JtdsPreparedStatement
All Implemented Interfaces:
AutoCloseable, PreparedStatement, Statement, Wrapper
Direct Known Subclasses:
JtdsCallableStatement

public class JtdsPreparedStatement extends JtdsStatement implements PreparedStatement
jTDS implementation of the java.sql.PreparedStatement interface.

Implementation notes:

  1. Generally a simple subclass of Statement mainly adding support for the setting of parameters.
  2. The stream logic is taken over from the work Brian did to add Blob support to the original jTDS.
  3. Use of Statement specific method calls eg executeQuery(sql) is blocked by this version of the driver. This is unlike the original jTDS but inline with all the other JDBC drivers that I have been able to test.
Author:
Brian Heineman, Mike Hutchinson, Holger Rehn