Java Doc for ServerPreparedStatement.java in  » Database-JDBC-Connection-Pool » mysql-connector-java-5.1.3 » com » mysql » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » mysql connector java 5.1.3 » com.mysql.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mysql.jdbc.StatementImpl
      com.mysql.jdbc.PreparedStatement
         com.mysql.jdbc.ServerPreparedStatement

ServerPreparedStatement
public class ServerPreparedStatement extends PreparedStatement (Code)
JDBC Interface for MySQL-4.1 and newer server-side PreparedStatements.
author:
   Mark Matthews
version:
   $Id: ServerPreparedStatement.java,v 1.1.2.2 2005/05/17 14:58:56
version:
   mmatthews Exp $

Inner Class :static class BatchedBindValues
Inner Class :public static class BindValue

Field Summary
final protected static  intBLOB_STREAM_READ_BUF_SIZE
    
protected  booleanisCached
    

Constructor Summary
protected  ServerPreparedStatement(ConnectionImpl conn, String sql, String catalog, int resultSetType, int resultSetConcurrency)
     Creates a new ServerPreparedStatement object.

Method Summary
public synchronized  voidaddBatch()
     JDBC 2.0 Add a set of parameters to the batch.
protected  StringasSql(boolean quoteStreamsAndUnknowns)
    
protected  voidcheckClosed()
    
public  voidclearParameters()
    
public  voidclose()
    
public synchronized  int[]executeBatch()
    
protected  com.mysql.jdbc.ResultSetInternalMethodsexecuteInternal(int maxRowsToRetrieve, Buffer sendPacket, boolean createStreamingResultSet, boolean queryIsSelectOnly, Field[] metadataFromCache, boolean isBatch)
    
protected  BufferfillSendPacket()
    
protected  BufferfillSendPacket(byte[][] batchedParameterStrings, InputStream[] batchedParameterStreams, boolean[] batchedIsStream, int[] batchedStreamLengths)
    
protected  BindValuegetBinding(int parameterIndex, boolean forLongData)
     Returns the structure representing the value that (can be)/(is) bound at the given parameter index.
 byte[]getBytes(int parameterIndex)
    
protected static  ServerPreparedStatementgetInstance(ConnectionImpl conn, String sql, String catalog, int resultSetType, int resultSetConcurrency)
     Creates a prepared statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures.
public  java.sql.ResultSetMetaDatagetMetaData()
    
public  ParameterMetaDatagetParameterMetaData()
    
protected  longgetServerStatementId()
    
 booleanisNull(int paramIndex)
    
protected  voidrePrepare()
     Used by Connection when auto-reconnecting to retrieve 'lost' prepared statements.
protected  voidrealClose(boolean calledExplicitly, boolean closeOpenResults)
     Closes this connection and frees all resources.
public  voidsetArray(int i, Array x)
    
public  voidsetAsciiStream(int parameterIndex, InputStream x, int length)
    
public  voidsetBigDecimal(int parameterIndex, BigDecimal x)
    
public  voidsetBinaryStream(int parameterIndex, InputStream x, int length)
    
public  voidsetBlob(int parameterIndex, Blob x)
    
public  voidsetBoolean(int parameterIndex, boolean x)
    
public  voidsetByte(int parameterIndex, byte x)
    
public  voidsetBytes(int parameterIndex, byte[] x)
    
public  voidsetCharacterStream(int parameterIndex, Reader reader, int length)
    
public  voidsetClob(int parameterIndex, Clob x)
    
protected  voidsetClosed(boolean flag)
    
public  voidsetDate(int parameterIndex, Date x)
     Set a parameter to a java.sql.Date value.
public  voidsetDate(int parameterIndex, Date x, Calendar cal)
     Set a parameter to a java.sql.Date value.
public  voidsetDouble(int parameterIndex, double x)
    
public  voidsetFloat(int parameterIndex, float x)
    
public  voidsetInt(int parameterIndex, int x)
    
public  voidsetLong(int parameterIndex, long x)
    
public  voidsetNull(int parameterIndex, int sqlType)
    
public  voidsetNull(int parameterIndex, int sqlType, String typeName)
    
public  voidsetRef(int i, Ref x)
    
public  voidsetShort(int parameterIndex, short x)
    
public  voidsetString(int parameterIndex, String x)
    
public  voidsetTime(int parameterIndex, java.sql.Time x)
     Set a parameter to a java.sql.Time value.
public  voidsetTime(int parameterIndex, java.sql.Time x, Calendar cal)
     Set a parameter to a java.sql.Time value.
public  voidsetTimeInternal(int parameterIndex, java.sql.Time x, Calendar targetCalendar, TimeZone tz, boolean rollForward)
     Set a parameter to a java.sql.Time value.
public  voidsetTimestamp(int parameterIndex, java.sql.Timestamp x)
     Set a parameter to a java.sql.Timestamp value.
public  voidsetTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal)
     Set a parameter to a java.sql.Timestamp value.
protected  voidsetTimestampInternal(int parameterIndex, java.sql.Timestamp x, Calendar targetCalendar, TimeZone tz, boolean rollForward)
    
protected  voidsetType(BindValue oldValue, int bufferType)
    
public  voidsetURL(int parameterIndex, URL x)
    
public  voidsetUnicodeStream(int parameterIndex, InputStream x, int length)
    
public  StringtoString()
    

Field Detail
BLOB_STREAM_READ_BUF_SIZE
final protected static int BLOB_STREAM_READ_BUF_SIZE(Code)



isCached
protected boolean isCached(Code)




Constructor Detail
ServerPreparedStatement
protected ServerPreparedStatement(ConnectionImpl conn, String sql, String catalog, int resultSetType, int resultSetConcurrency) throws SQLException(Code)
Creates a new ServerPreparedStatement object.
Parameters:
  conn - the connection creating us.
Parameters:
  sql - the SQL containing the statement to prepare.
Parameters:
  catalog - the catalog in use when we were created.
throws:
  SQLException - If an error occurs




Method Detail
addBatch
public synchronized void addBatch() throws SQLException(Code)
JDBC 2.0 Add a set of parameters to the batch.
exception:
  SQLException - if a database-access error occurs.
See Also:   StatementImpl.addBatch



asSql
protected String asSql(boolean quoteStreamsAndUnknowns) throws SQLException(Code)



checkClosed
protected void checkClosed() throws SQLException(Code)



clearParameters
public void clearParameters() throws SQLException(Code)

See Also:   java.sql.PreparedStatement.clearParameters



close
public void close() throws SQLException(Code)

See Also:   java.sql.Statement.close



executeBatch
public synchronized int[] executeBatch() throws SQLException(Code)

See Also:   java.sql.Statement.executeBatch



executeInternal
protected com.mysql.jdbc.ResultSetInternalMethods executeInternal(int maxRowsToRetrieve, Buffer sendPacket, boolean createStreamingResultSet, boolean queryIsSelectOnly, Field[] metadataFromCache, boolean isBatch) throws SQLException(Code)

See Also:   com.mysql.jdbc.PreparedStatement.executeInternal(intcom.mysql.jdbc.Bufferbooleanboolean)



fillSendPacket
protected Buffer fillSendPacket() throws SQLException(Code)

See Also:   com.mysql.jdbc.PreparedStatement.fillSendPacket



fillSendPacket
protected Buffer fillSendPacket(byte[][] batchedParameterStrings, InputStream[] batchedParameterStreams, boolean[] batchedIsStream, int[] batchedStreamLengths) throws SQLException(Code)

See Also:   com.mysql.jdbc.PreparedStatement.fillSendPacket(bytejava.io.InputStreambooleanint)



getBinding
protected BindValue getBinding(int parameterIndex, boolean forLongData) throws SQLException(Code)
Returns the structure representing the value that (can be)/(is) bound at the given parameter index.
Parameters:
  parameterIndex - 1-based
Parameters:
  forLongData - is this for a stream?
throws:
  SQLException -



getBytes
byte[] getBytes(int parameterIndex) throws SQLException(Code)

See Also:   com.mysql.jdbc.PreparedStatement.getBytes(int)



getInstance
protected static ServerPreparedStatement getInstance(ConnectionImpl conn, String sql, String catalog, int resultSetType, int resultSetConcurrency) throws SQLException(Code)
Creates a prepared statement instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures.



getMetaData
public java.sql.ResultSetMetaData getMetaData() throws SQLException(Code)

See Also:   java.sql.PreparedStatement.getMetaData



getParameterMetaData
public ParameterMetaData getParameterMetaData() throws SQLException(Code)

See Also:   java.sql.PreparedStatement.getParameterMetaData



getServerStatementId
protected long getServerStatementId()(Code)



isNull
boolean isNull(int paramIndex)(Code)

See Also:   com.mysql.jdbc.PreparedStatement.isNull(int)



rePrepare
protected void rePrepare() throws SQLException(Code)
Used by Connection when auto-reconnecting to retrieve 'lost' prepared statements.
throws:
  SQLException - if an error occurs.



realClose
protected void realClose(boolean calledExplicitly, boolean closeOpenResults) throws SQLException(Code)
Closes this connection and frees all resources.
Parameters:
  calledExplicitly - was this called from close()?
throws:
  SQLException - if an error occurs



setArray
public void setArray(int i, Array x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setArray(intjava.sql.Array)



setAsciiStream
public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setAsciiStream(intjava.io.InputStreamint)



setBigDecimal
public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setBigDecimal(intjava.math.BigDecimal)



setBinaryStream
public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setBinaryStream(intjava.io.InputStreamint)



setBlob
public void setBlob(int parameterIndex, Blob x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setBlob(intjava.sql.Blob)



setBoolean
public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setBoolean(intboolean)



setByte
public void setByte(int parameterIndex, byte x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setByte(intbyte)



setBytes
public void setBytes(int parameterIndex, byte[] x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setBytes(intbyte)



setCharacterStream
public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setCharacterStream(intjava.io.Readerint)



setClob
public void setClob(int parameterIndex, Clob x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setClob(intjava.sql.Clob)



setClosed
protected void setClosed(boolean flag)(Code)



setDate
public void setDate(int parameterIndex, Date x) throws SQLException(Code)
Set a parameter to a java.sql.Date value. The driver converts this to a SQL DATE value when it sends it to the database.
Parameters:
  parameterIndex - the first parameter is 1, the second is 2, ...
Parameters:
  x - the parameter value
exception:
  SQLException - if a database-access error occurs.



setDate
public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException(Code)
Set a parameter to a java.sql.Date value. The driver converts this to a SQL DATE value when it sends it to the database.
Parameters:
  parameterIndex - the first parameter is 1, the second is 2, ...
Parameters:
  x - the parameter value
Parameters:
  cal - the calendar to interpret the date with
exception:
  SQLException - if a database-access error occurs.



setDouble
public void setDouble(int parameterIndex, double x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setDouble(intdouble)



setFloat
public void setFloat(int parameterIndex, float x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setFloat(intfloat)



setInt
public void setInt(int parameterIndex, int x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setInt(intint)



setLong
public void setLong(int parameterIndex, long x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setLong(intlong)



setNull
public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setNull(intint)



setNull
public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setNull(intintjava.lang.String)



setRef
public void setRef(int i, Ref x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setRef(intjava.sql.Ref)



setShort
public void setShort(int parameterIndex, short x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setShort(intshort)



setString
public void setString(int parameterIndex, String x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setString(intjava.lang.String)



setTime
public void setTime(int parameterIndex, java.sql.Time x) throws SQLException(Code)
Set a parameter to a java.sql.Time value.
Parameters:
  parameterIndex - the first parameter is 1...));
Parameters:
  x - the parameter value
throws:
  SQLException - if a database access error occurs



setTime
public void setTime(int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException(Code)
Set a parameter to a java.sql.Time value. The driver converts this to a SQL TIME value when it sends it to the database, using the given timezone.
Parameters:
  parameterIndex - the first parameter is 1...));
Parameters:
  x - the parameter value
Parameters:
  cal - the timezone to use
throws:
  SQLException - if a database access error occurs



setTimeInternal
public void setTimeInternal(int parameterIndex, java.sql.Time x, Calendar targetCalendar, TimeZone tz, boolean rollForward) throws SQLException(Code)
Set a parameter to a java.sql.Time value. The driver converts this to a SQL TIME value when it sends it to the database, using the given timezone.
Parameters:
  parameterIndex - the first parameter is 1...));
Parameters:
  x - the parameter value
Parameters:
  tz - the timezone to use
throws:
  SQLException - if a database access error occurs



setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException(Code)
Set a parameter to a java.sql.Timestamp value. The driver converts this to a SQL TIMESTAMP value when it sends it to the database.
Parameters:
  parameterIndex - the first parameter is 1, the second is 2, ...
Parameters:
  x - the parameter value
throws:
  SQLException - if a database-access error occurs.



setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)
Set a parameter to a java.sql.Timestamp value. The driver converts this to a SQL TIMESTAMP value when it sends it to the database.
Parameters:
  parameterIndex - the first parameter is 1, the second is 2, ...
Parameters:
  x - the parameter value
Parameters:
  cal - the timezone to use
throws:
  SQLException - if a database-access error occurs.



setTimestampInternal
protected void setTimestampInternal(int parameterIndex, java.sql.Timestamp x, Calendar targetCalendar, TimeZone tz, boolean rollForward) throws SQLException(Code)



setType
protected void setType(BindValue oldValue, int bufferType)(Code)



setURL
public void setURL(int parameterIndex, URL x) throws SQLException(Code)

See Also:   java.sql.PreparedStatement.setURL(intjava.net.URL)



setUnicodeStream
public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)
DOCUMENT ME!
Parameters:
  parameterIndex - DOCUMENT ME!
Parameters:
  x - DOCUMENT ME!
Parameters:
  length - DOCUMENT ME!
throws:
  SQLException - DOCUMENT ME!
throws:
  NotImplemented - DOCUMENT ME!
See Also:   java.sql.PreparedStatement.setUnicodeStream(intjava.io.InputStreamint)



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



Fields inherited from com.mysql.jdbc.PreparedStatement
protected boolean batchHasPlainStatements(Code)(Java Doc)
protected String batchedValuesClause(Code)(Java Doc)
protected char firstCharOfStmt(Code)(Java Doc)
protected boolean hasLimitClause(Code)(Java Doc)
protected boolean isLoadDataQuery(Code)(Java Doc)
protected int numberOfExecutions(Code)(Java Doc)
protected String originalSql(Code)(Java Doc)
protected int parameterCount(Code)(Java Doc)
protected MysqlParameterMetadata parameterMetaData(Code)(Java Doc)
protected int[] parameterTypes(Code)(Java Doc)
protected boolean useTrueBoolean(Code)(Java Doc)
protected boolean usingAnsiMode(Code)(Java Doc)

Methods inherited from com.mysql.jdbc.PreparedStatement
public void addBatch() throws SQLException(Code)(Java Doc)
public synchronized void addBatch(String sql) throws SQLException(Code)(Java Doc)
protected String asSql() throws SQLException(Code)(Java Doc)
protected String asSql(boolean quoteStreamsAndUnknowns) throws SQLException(Code)(Java Doc)
public synchronized boolean canRewriteAsMultivalueInsertStatement()(Code)(Java Doc)
public synchronized void clearBatch() throws SQLException(Code)(Java Doc)
public synchronized void clearParameters() throws SQLException(Code)(Java Doc)
public synchronized void close() throws SQLException(Code)(Java Doc)
protected int computeBatchSize(int numBatchedArgs)(Code)(Java Doc)
protected long[] computeMaxParameterSetSizeAndBatchSize(int numBatchedArgs)(Code)(Java Doc)
public boolean execute() throws SQLException(Code)(Java Doc)
public int[] executeBatch() throws SQLException(Code)(Java Doc)
protected int[] executeBatchSerially(int batchTimeout) throws SQLException(Code)(Java Doc)
protected int[] executeBatchedInserts(int batchTimeout) throws SQLException(Code)(Java Doc)
protected ResultSetInternalMethods executeInternal(int maxRowsToRetrieve, Buffer sendPacket, boolean createStreamingResultSet, boolean queryIsSelectOnly, Field[] metadataFromCache, boolean isBatch) throws SQLException(Code)(Java Doc)
protected int[] executePreparedBatchAsMultiStatement(int batchTimeout) throws SQLException(Code)(Java Doc)
public java.sql.ResultSet executeQuery() throws SQLException(Code)(Java Doc)
public int executeUpdate() throws SQLException(Code)(Java Doc)
protected int executeUpdate(boolean clearBatchedGeneratedKeysAndWarnings, boolean isBatch) throws SQLException(Code)(Java Doc)
protected int executeUpdate(byte[][] batchedParameterStrings, InputStream[] batchedParameterStreams, boolean[] batchedIsStream, int[] batchedStreamLengths, boolean[] batchedIsNull, boolean isReallyBatch) throws SQLException(Code)(Java Doc)
protected Buffer fillSendPacket() throws SQLException(Code)(Java Doc)
protected Buffer fillSendPacket(byte[][] batchedParameterStrings, InputStream[] batchedParameterStreams, boolean[] batchedIsStream, int[] batchedStreamLengths) throws SQLException(Code)(Java Doc)
public byte[] getBytesRepresentation(int parameterIndex) throws SQLException(Code)(Java Doc)
protected static PreparedStatement getInstance(ConnectionImpl conn, String catalog) throws SQLException(Code)(Java Doc)
protected static PreparedStatement getInstance(ConnectionImpl conn, String sql, String catalog) throws SQLException(Code)(Java Doc)
protected static PreparedStatement getInstance(ConnectionImpl conn, String sql, String catalog, ParseInfo cachedParseInfo) throws SQLException(Code)(Java Doc)
public java.sql.ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc)
public ParameterBindings getParameterBindings() throws SQLException(Code)(Java Doc)
protected int getParameterIndexOffset()(Code)(Java Doc)
public ParameterMetaData getParameterMetaData() throws SQLException(Code)(Java Doc)
ParseInfo getParseInfo()(Code)(Java Doc)
public synchronized boolean isClosed() throws SQLException(Code)(Java Doc)
boolean isNull(int paramIndex)(Code)(Java Doc)
protected boolean isSelectQuery()(Code)(Java Doc)
protected static int readFully(Reader reader, char[] buf, int length) throws IOException(Code)(Java Doc)
protected void realClose(boolean calledExplicitly, boolean closeOpenResults) throws SQLException(Code)(Java Doc)
public void setArray(int i, Array x) throws SQLException(Code)(Java Doc)
public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException(Code)(Java Doc)
public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException(Code)(Java Doc)
public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException(Code)(Java Doc)
public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException(Code)(Java Doc)
public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException(Code)(Java Doc)
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException(Code)(Java Doc)
public void setBlob(int i, java.sql.Blob x) throws SQLException(Code)(Java Doc)
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException(Code)(Java Doc)
public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc)
public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc)
public void setBytes(int parameterIndex, byte[] x) throws SQLException(Code)(Java Doc)
protected void setBytes(int parameterIndex, byte[] x, boolean checkForIntroducer, boolean escapeForMBChars) throws SQLException(Code)(Java Doc)
protected void setBytesNoEscape(int parameterIndex, byte[] parameterAsBytes) throws SQLException(Code)(Java Doc)
protected void setBytesNoEscapeNoQuotes(int parameterIndex, byte[] parameterAsBytes) throws SQLException(Code)(Java Doc)
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws SQLException(Code)(Java Doc)
public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc)
public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setClob(int i, Clob x) throws SQLException(Code)(Java Doc)
public void setClob(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc)
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setDate(int parameterIndex, java.sql.Date x) throws java.sql.SQLException(Code)(Java Doc)
public void setDate(int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc)
public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc)
public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc)
final protected void setInternal(int paramIndex, byte[] val) throws SQLException(Code)(Java Doc)
final protected void setInternal(int paramIndex, String val) throws SQLException(Code)(Java Doc)
public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc)
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException(Code)(Java Doc)
public void setNCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setNClob(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc)
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setNString(int parameterIndex, String x) throws SQLException(Code)(Java Doc)
public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc)
public void setNull(int parameterIndex, int sqlType, String arg) throws SQLException(Code)(Java Doc)
public void setObject(int parameterIndex, Object parameterObj) throws SQLException(Code)(Java Doc)
public void setObject(int parameterIndex, Object parameterObj, int targetSqlType) throws SQLException(Code)(Java Doc)
public void setObject(int parameterIndex, Object parameterObj, int targetSqlType, int scale) throws SQLException(Code)(Java Doc)
protected int setOneBatchedParameterSet(java.sql.PreparedStatement batchedStatement, int batchedParamIndex, Object paramSet) throws SQLException(Code)(Java Doc)
public void setRef(int i, Ref x) throws SQLException(Code)(Java Doc)
void setResultSetConcurrency(int concurrencyFlag)(Code)(Java Doc)
void setResultSetType(int typeFlag)(Code)(Java Doc)
protected void setRetrieveGeneratedKeys(boolean retrieveGeneratedKeys)(Code)(Java Doc)
public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc)
public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc)
public void setTime(int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setTime(int parameterIndex, Time x) throws java.sql.SQLException(Code)(Java Doc)
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setTimestamp(int parameterIndex, Timestamp x) throws java.sql.SQLException(Code)(Java Doc)
public void setURL(int parameterIndex, URL arg) throws SQLException(Code)(Java Doc)
public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.mysql.jdbc.StatementImpl
final protected static String PING_MARKER(Code)(Java Doc)
final public static byte USES_VARIABLES_FALSE(Code)(Java Doc)
final public static byte USES_VARIABLES_TRUE(Code)(Java Doc)
final public static byte USES_VARIABLES_UNKNOWN(Code)(Java Doc)
protected List batchedArgs(Code)(Java Doc)
protected ArrayList batchedGeneratedKeys(Code)(Java Doc)
protected Object cancelTimeoutMutex(Code)(Java Doc)
protected SingleByteCharsetConverter charConverter(Code)(Java Doc)
protected String charEncoding(Code)(Java Doc)
protected ConnectionImpl connection(Code)(Java Doc)
protected long connectionId(Code)(Java Doc)
protected boolean continueBatchOnError(Code)(Java Doc)
protected String currentCatalog(Code)(Java Doc)
protected boolean doEscapeProcessing(Code)(Java Doc)
protected ProfileEventSink eventSink(Code)(Java Doc)
protected boolean holdResultsOpenOverClose(Code)(Java Doc)
protected boolean isClosed(Code)(Java Doc)
protected long lastInsertId(Code)(Java Doc)
protected int maxFieldSize(Code)(Java Doc)
protected int maxRows(Code)(Java Doc)
protected boolean maxRowsChanged(Code)(Java Doc)
protected List openResults(Code)(Java Doc)
protected boolean pedantic(Code)(Java Doc)
protected PingTarget pingTarget(Code)(Java Doc)
protected Throwable pointOfOrigin(Code)(Java Doc)
protected boolean profileSQL(Code)(Java Doc)
protected int resultSetConcurrency(Code)(Java Doc)
protected int resultSetType(Code)(Java Doc)
protected ResultSetInternalMethods results(Code)(Java Doc)
protected boolean retrieveGeneratedKeys(Code)(Java Doc)
protected static int statementCounter(Code)(Java Doc)
protected int statementId(Code)(Java Doc)
protected int timeoutInMillis(Code)(Java Doc)
protected long updateCount(Code)(Java Doc)
protected boolean useUsageAdvisor(Code)(Java Doc)
protected SQLWarning warningChain(Code)(Java Doc)
protected boolean wasCancelled(Code)(Java Doc)
protected boolean wasCancelledByTimeout(Code)(Java Doc)

Methods inherited from com.mysql.jdbc.StatementImpl
public synchronized void addBatch(String sql) throws SQLException(Code)(Java Doc)
public void cancel() throws SQLException(Code)(Java Doc)
protected void checkClosed() throws SQLException(Code)(Java Doc)
protected void checkForDml(String sql, char firstStatementChar) throws SQLException(Code)(Java Doc)
protected void checkNullOrEmptyQuery(String sql) throws SQLException(Code)(Java Doc)
public synchronized void clearBatch() throws SQLException(Code)(Java Doc)
public void clearWarnings() throws SQLException(Code)(Java Doc)
public void close() throws SQLException(Code)(Java Doc)
protected void closeAllOpenResults()(Code)(Java Doc)
protected boolean createStreamingResultSet()(Code)(Java Doc)
public void disableStreamingResults() throws SQLException(Code)(Java Doc)
protected void doPingInstead() throws SQLException(Code)(Java Doc)
public void enableStreamingResults() throws SQLException(Code)(Java Doc)
public boolean execute(String sql) throws SQLException(Code)(Java Doc)
public boolean execute(String sql, int returnGeneratedKeys) throws SQLException(Code)(Java Doc)
public boolean execute(String sql, int[] generatedKeyIndices) throws SQLException(Code)(Java Doc)
public boolean execute(String sql, String[] generatedKeyNames) throws SQLException(Code)(Java Doc)
public synchronized int[] executeBatch() throws SQLException(Code)(Java Doc)
public java.sql.ResultSet executeQuery(String sql) throws SQLException(Code)(Java Doc)
protected void executeSimpleNonQuery(ConnectionImpl c, String nonQuery) throws SQLException(Code)(Java Doc)
public int executeUpdate(String sql) throws SQLException(Code)(Java Doc)
protected int executeUpdate(String sql, boolean isBatch) throws SQLException(Code)(Java Doc)
public int executeUpdate(String sql, int returnGeneratedKeys) throws SQLException(Code)(Java Doc)
public int executeUpdate(String sql, int[] generatedKeyIndices) throws SQLException(Code)(Java Doc)
public int executeUpdate(String sql, String[] generatedKeyNames) throws SQLException(Code)(Java Doc)
protected int findStartOfStatement(String sql)(Code)(Java Doc)
protected ResultSetInternalMethods generatePingResultSet() throws SQLException(Code)(Java Doc)
protected void getBatchedGeneratedKeys(java.sql.Statement batchedStatement) throws SQLException(Code)(Java Doc)
protected void getBatchedGeneratedKeys() throws SQLException(Code)(Java Doc)
protected Calendar getCalendarInstanceForSessionOrNew()(Code)(Java Doc)
public java.sql.Connection getConnection() throws SQLException(Code)(Java Doc)
public int getFetchDirection() throws SQLException(Code)(Java Doc)
public int getFetchSize() throws SQLException(Code)(Java Doc)
public synchronized java.sql.ResultSet getGeneratedKeys() throws SQLException(Code)(Java Doc)
protected java.sql.ResultSet getGeneratedKeysInternal() throws SQLException(Code)(Java Doc)
protected int getId()(Code)(Java Doc)
public long getLastInsertID()(Code)(Java Doc)
public synchronized InputStream getLocalInfileInputStream()(Code)(Java Doc)
public long getLongUpdateCount()(Code)(Java Doc)
public int getMaxFieldSize() throws SQLException(Code)(Java Doc)
public int getMaxRows() throws SQLException(Code)(Java Doc)
public boolean getMoreResults() throws SQLException(Code)(Java Doc)
public boolean getMoreResults(int current) throws SQLException(Code)(Java Doc)
public int getQueryTimeout() throws SQLException(Code)(Java Doc)
public java.sql.ResultSet getResultSet() throws SQLException(Code)(Java Doc)
public int getResultSetConcurrency() throws SQLException(Code)(Java Doc)
public int getResultSetHoldability() throws SQLException(Code)(Java Doc)
protected ResultSetInternalMethods getResultSetInternal()(Code)(Java Doc)
public int getResultSetType() throws SQLException(Code)(Java Doc)
public int getUpdateCount() throws SQLException(Code)(Java Doc)
public java.sql.SQLWarning getWarnings() throws SQLException(Code)(Java Doc)
protected SQLException handleExceptionForBatch(int endOfBatchIndex, int numValuesPerBatch, int[] updateCounts, SQLException ex) throws BatchUpdateException(Code)(Java Doc)
public synchronized boolean isClosed() throws SQLException(Code)(Java Doc)
public boolean isPoolable() throws SQLException(Code)(Java Doc)
public boolean isWrapperFor(Class iface) throws SQLException(Code)(Java Doc)
protected int processMultiCountsAndKeys(StatementImpl batchedStatement, int updateCountCounter, int[] updateCounts) throws SQLException(Code)(Java Doc)
protected void realClose(boolean calledExplicitly, boolean closeOpenResults) throws SQLException(Code)(Java Doc)
protected synchronized void resetCancelledState()(Code)(Java Doc)
public void setCursorName(String name) throws SQLException(Code)(Java Doc)
public void setEscapeProcessing(boolean enable) throws SQLException(Code)(Java Doc)
public void setFetchDirection(int direction) throws SQLException(Code)(Java Doc)
public void setFetchSize(int rows) throws SQLException(Code)(Java Doc)
protected void setHoldResultsOpenOverClose(boolean holdResultsOpenOverClose)(Code)(Java Doc)
public synchronized void setLocalInfileInputStream(InputStream stream)(Code)(Java Doc)
public void setMaxFieldSize(int max) throws SQLException(Code)(Java Doc)
public void setMaxRows(int max) throws SQLException(Code)(Java Doc)
public synchronized void setPingTarget(PingTarget pingTarget)(Code)(Java Doc)
public void setPoolable(boolean poolable) throws SQLException(Code)(Java Doc)
public void setQueryTimeout(int seconds) throws SQLException(Code)(Java Doc)
void setResultSetConcurrency(int concurrencyFlag)(Code)(Java Doc)
void setResultSetType(int typeFlag)(Code)(Java Doc)
public Object unwrap(Class iface) throws java.sql.SQLException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.