Java Doc for CallableStatement.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.CallableStatement

All known Subclasses:   com.mysql.jdbc.JDBC4CallableStatement,
CallableStatement
public class CallableStatement extends PreparedStatement implements java.sql.CallableStatement(Code)
Representation of stored procedures for JDBC
author:
   Mark Matthews
version:
   $Id: CallableStatement.java,v 1.1.2.1 2005/05/13 18:58:38 mmatthews
version:
   Exp $

Inner Class :protected class CallableStatementParam
Inner Class :protected class CallableStatementParamInfo
Inner Class :protected class CallableStatementParamInfoJDBC3 extends CallableStatementParamInfo implements ParameterMetaData

Field Summary
final protected static  ConstructorJDBC_4_CSTMT_2_ARGS_CTOR
    
final protected static  ConstructorJDBC_4_CSTMT_4_ARGS_CTOR
    
protected  booleanoutputParamWasNull
    
protected  CallableStatementParamInfoparamInfo
    

Constructor Summary
public  CallableStatement(ConnectionImpl conn, CallableStatementParamInfo paramInfo)
    
public  CallableStatement(ConnectionImpl conn, String sql, String catalog, boolean isFunctionCall)
    

Method Summary
public  voidaddBatch()
    
public synchronized  voidclearParameters()
    
public  booleanexecute()
    
public  int[]executeBatch()
    
public  java.sql.ResultSetexecuteQuery()
    
public  intexecuteUpdate()
    
protected  StringfixParameterName(String paramNameIn)
     Adds 'at' symbol to beginning of parameter names if needed.
public synchronized  ArraygetArray(int i)
    
public synchronized  ArraygetArray(String parameterName)
    
public synchronized  BigDecimalgetBigDecimal(int parameterIndex)
    
public synchronized  BigDecimalgetBigDecimal(int parameterIndex, int scale)
    
public synchronized  BigDecimalgetBigDecimal(String parameterName)
    
public synchronized  BlobgetBlob(int parameterIndex)
    
public synchronized  BlobgetBlob(String parameterName)
    
public synchronized  booleangetBoolean(int parameterIndex)
    
public synchronized  booleangetBoolean(String parameterName)
    
public synchronized  bytegetByte(int parameterIndex)
    
public synchronized  bytegetByte(String parameterName)
    
public synchronized  byte[]getBytes(int parameterIndex)
    
public synchronized  byte[]getBytes(String parameterName)
    
public synchronized  ClobgetClob(int parameterIndex)
    
public synchronized  ClobgetClob(String parameterName)
    
public synchronized  DategetDate(int parameterIndex)
    
public synchronized  DategetDate(int parameterIndex, Calendar cal)
    
public synchronized  DategetDate(String parameterName)
    
public synchronized  DategetDate(String parameterName, Calendar cal)
    
public synchronized  doublegetDouble(int parameterIndex)
    
public synchronized  doublegetDouble(String parameterName)
    
public synchronized  floatgetFloat(int parameterIndex)
    
public synchronized  floatgetFloat(String parameterName)
    
protected static  CallableStatementgetInstance(ConnectionImpl conn, String sql, String catalog, boolean isFunctionCall)
     Creates a callable 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.
protected static  CallableStatementgetInstance(ConnectionImpl conn, CallableStatementParamInfo paramInfo)
     Creates a callable 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 synchronized  intgetInt(int parameterIndex)
    
public synchronized  intgetInt(String parameterName)
    
public synchronized  longgetLong(int parameterIndex)
    
public synchronized  longgetLong(String parameterName)
    
protected  intgetNamedParamIndex(String paramName, boolean forOut)
    
public synchronized  ObjectgetObject(int parameterIndex)
    
public synchronized  ObjectgetObject(int parameterIndex, Map map)
    
public synchronized  ObjectgetObject(String parameterName)
    
public synchronized  ObjectgetObject(String parameterName, Map map)
    
protected  ResultSetInternalMethodsgetOutputParameters(int paramIndex)
     Returns the ResultSet that holds the output parameters, or throws an appropriate exception if none exist, or they weren't returned.
protected  intgetParameterIndexOffset()
    
public synchronized  ParameterMetaDatagetParameterMetaData()
    
public synchronized  RefgetRef(int parameterIndex)
    
public synchronized  RefgetRef(String parameterName)
    
public synchronized  shortgetShort(int parameterIndex)
    
public synchronized  shortgetShort(String parameterName)
    
public synchronized  StringgetString(int parameterIndex)
    
public synchronized  StringgetString(String parameterName)
    
public synchronized  TimegetTime(int parameterIndex)
    
public synchronized  TimegetTime(int parameterIndex, Calendar cal)
    
public synchronized  TimegetTime(String parameterName)
    
public synchronized  TimegetTime(String parameterName, Calendar cal)
    
public synchronized  TimestampgetTimestamp(int parameterIndex)
    
public synchronized  TimestampgetTimestamp(int parameterIndex, Calendar cal)
    
public synchronized  TimestampgetTimestamp(String parameterName)
    
public synchronized  TimestampgetTimestamp(String parameterName, Calendar cal)
    
public synchronized  URLgetURL(int parameterIndex)
    
public synchronized  URLgetURL(String parameterName)
    
protected  intmapOutputParameterIndexToRsIndex(int paramIndex)
    
public  voidregisterOutParameter(int parameterIndex, int sqlType)
    
public  voidregisterOutParameter(int parameterIndex, int sqlType, int scale)
    
public  voidregisterOutParameter(int parameterIndex, int sqlType, String typeName)
    
public synchronized  voidregisterOutParameter(String parameterName, int sqlType)
    
public  voidregisterOutParameter(String parameterName, int sqlType, int scale)
    
public  voidregisterOutParameter(String parameterName, int sqlType, String typeName)
    
public  voidsetAsciiStream(String parameterName, InputStream x, int length)
    
public  voidsetAsciiStream(String parameterName, InputStream x)
    
public  voidsetAsciiStream(String parameterName, InputStream x, long length)
    
public  voidsetBigDecimal(String parameterName, BigDecimal x)
    
public  voidsetBinaryStream(String parameterName, InputStream x, int length)
    
public  voidsetBinaryStream(String parameterName, InputStream x)
    
public  voidsetBinaryStream(String parameterName, InputStream x, long length)
    
public  voidsetBlob(String parameterName, Blob x)
    
public  voidsetBlob(String parameterName, InputStream inputStream)
    
public  voidsetBlob(String parameterName, InputStream inputStream, long length)
    
public  voidsetBoolean(String parameterName, boolean x)
    
public  voidsetByte(String parameterName, byte x)
    
public  voidsetBytes(String parameterName, byte[] x)
    
public  voidsetCharacterStream(String parameterName, Reader reader, int length)
    
public  voidsetCharacterStream(String parameterName, Reader reader)
    
public  voidsetCharacterStream(String parameterName, Reader reader, long length)
    
public  voidsetClob(String parameterName, Clob x)
    
public  voidsetClob(String parameterName, Reader reader)
    
public  voidsetClob(String parameterName, Reader reader, long length)
    
public  voidsetDate(String parameterName, Date x)
    
public  voidsetDate(String parameterName, Date x, Calendar cal)
    
public  voidsetDouble(String parameterName, double x)
    
public  voidsetFloat(String parameterName, float x)
    
public  voidsetInt(String parameterName, int x)
    
public  voidsetLong(String parameterName, long x)
    
public  voidsetNCharacterStream(String parameterName, Reader value)
    
public  voidsetNCharacterStream(String parameterName, Reader value, long length)
    
public  voidsetNull(String parameterName, int sqlType)
    
public  voidsetNull(String parameterName, int sqlType, String typeName)
    
public  voidsetObject(String parameterName, Object x)
    
public  voidsetObject(String parameterName, Object x, int targetSqlType)
    
public  voidsetObject(String parameterName, Object x, int targetSqlType, int scale)
    
public  voidsetShort(String parameterName, short x)
    
public  voidsetString(String parameterName, String x)
    
public  voidsetTime(String parameterName, Time x)
    
public  voidsetTime(String parameterName, Time x, Calendar cal)
    
public  voidsetTimestamp(String parameterName, Timestamp x)
    
public  voidsetTimestamp(String parameterName, Timestamp x, Calendar cal)
    
public  voidsetURL(String parameterName, URL val)
    
public synchronized  booleanwasNull()
    

Field Detail
JDBC_4_CSTMT_2_ARGS_CTOR
final protected static Constructor JDBC_4_CSTMT_2_ARGS_CTOR(Code)



JDBC_4_CSTMT_4_ARGS_CTOR
final protected static Constructor JDBC_4_CSTMT_4_ARGS_CTOR(Code)



outputParamWasNull
protected boolean outputParamWasNull(Code)



paramInfo
protected CallableStatementParamInfo paramInfo(Code)




Constructor Detail
CallableStatement
public CallableStatement(ConnectionImpl conn, CallableStatementParamInfo paramInfo) throws SQLException(Code)
Creates a new CallableStatement
Parameters:
  conn - the connection creating this statement
Parameters:
  paramInfo - the SQL to prepare
throws:
  SQLException - if an error occurs



CallableStatement
public CallableStatement(ConnectionImpl conn, String sql, String catalog, boolean isFunctionCall) throws SQLException(Code)
Creates a new CallableStatement
Parameters:
  conn - the connection creating this statement
Parameters:
  sql - the SQL to prepare
Parameters:
  catalog - the current catalog
throws:
  SQLException - if an error occurs




Method Detail
addBatch
public void addBatch() throws SQLException(Code)



clearParameters
public synchronized void clearParameters() throws SQLException(Code)



execute
public boolean execute() throws SQLException(Code)



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



executeQuery
public java.sql.ResultSet executeQuery() throws SQLException(Code)



executeUpdate
public int executeUpdate() throws SQLException(Code)



fixParameterName
protected String fixParameterName(String paramNameIn) throws SQLException(Code)
Adds 'at' symbol to beginning of parameter names if needed.
Parameters:
  paramNameIn - the parameter name to 'fix' the parameter name with an 'a' prepended, if needed
throws:
  SQLException - if the parameter name is null or empty.



getArray
public synchronized Array getArray(int i) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getArray(int)



getArray
public synchronized Array getArray(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getArray(java.lang.String)



getBigDecimal
public synchronized BigDecimal getBigDecimal(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBigDecimal(int)



getBigDecimal
public synchronized BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException(Code)
DOCUMENT ME!
Parameters:
  parameterIndex - DOCUMENT ME!
Parameters:
  scale - DOCUMENT ME! DOCUMENT ME!
throws:
  SQLException - DOCUMENT ME!
See Also:   java.sql.CallableStatement.getBigDecimal(intint)



getBigDecimal
public synchronized BigDecimal getBigDecimal(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBigDecimal(java.lang.String)



getBlob
public synchronized Blob getBlob(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBlob(int)



getBlob
public synchronized Blob getBlob(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBlob(java.lang.String)



getBoolean
public synchronized boolean getBoolean(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBoolean(int)



getBoolean
public synchronized boolean getBoolean(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBoolean(java.lang.String)



getByte
public synchronized byte getByte(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getByte(int)



getByte
public synchronized byte getByte(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getByte(java.lang.String)



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

See Also:   java.sql.CallableStatement.getBytes(int)



getBytes
public synchronized byte[] getBytes(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getBytes(java.lang.String)



getClob
public synchronized Clob getClob(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getClob(int)



getClob
public synchronized Clob getClob(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getClob(java.lang.String)



getDate
public synchronized Date getDate(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getDate(int)



getDate
public synchronized Date getDate(int parameterIndex, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getDate(intjava.util.Calendar)



getDate
public synchronized Date getDate(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getDate(java.lang.String)



getDate
public synchronized Date getDate(String parameterName, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getDate(java.lang.Stringjava.util.Calendar)



getDouble
public synchronized double getDouble(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getDouble(int)



getDouble
public synchronized double getDouble(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getDouble(java.lang.String)



getFloat
public synchronized float getFloat(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getFloat(int)



getFloat
public synchronized float getFloat(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getFloat(java.lang.String)



getInstance
protected static CallableStatement getInstance(ConnectionImpl conn, String sql, String catalog, boolean isFunctionCall) throws SQLException(Code)
Creates a callable 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.



getInstance
protected static CallableStatement getInstance(ConnectionImpl conn, CallableStatementParamInfo paramInfo) throws SQLException(Code)
Creates a callable 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.



getInt
public synchronized int getInt(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getInt(int)



getInt
public synchronized int getInt(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getInt(java.lang.String)



getLong
public synchronized long getLong(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getLong(int)



getLong
public synchronized long getLong(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getLong(java.lang.String)



getNamedParamIndex
protected int getNamedParamIndex(String paramName, boolean forOut) throws SQLException(Code)



getObject
public synchronized Object getObject(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getObject(int)



getObject
public synchronized Object getObject(int parameterIndex, Map map) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getObject(intjava.util.Map)



getObject
public synchronized Object getObject(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getObject(java.lang.String)



getObject
public synchronized Object getObject(String parameterName, Map map) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getObject(java.lang.Stringjava.util.Map)



getOutputParameters
protected ResultSetInternalMethods getOutputParameters(int paramIndex) throws SQLException(Code)
Returns the ResultSet that holds the output parameters, or throws an appropriate exception if none exist, or they weren't returned. the ResultSet that holds the output parameters
throws:
  SQLException - if no output parameters were defined, or if no outputparameters were returned.



getParameterIndexOffset
protected int getParameterIndexOffset()(Code)



getParameterMetaData
public synchronized ParameterMetaData getParameterMetaData() throws SQLException(Code)



getRef
public synchronized Ref getRef(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getRef(int)



getRef
public synchronized Ref getRef(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getRef(java.lang.String)



getShort
public synchronized short getShort(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getShort(int)



getShort
public synchronized short getShort(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getShort(java.lang.String)



getString
public synchronized String getString(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getString(int)



getString
public synchronized String getString(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getString(java.lang.String)



getTime
public synchronized Time getTime(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTime(int)



getTime
public synchronized Time getTime(int parameterIndex, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTime(intjava.util.Calendar)



getTime
public synchronized Time getTime(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTime(java.lang.String)



getTime
public synchronized Time getTime(String parameterName, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTime(java.lang.Stringjava.util.Calendar)



getTimestamp
public synchronized Timestamp getTimestamp(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTimestamp(int)



getTimestamp
public synchronized Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTimestamp(intjava.util.Calendar)



getTimestamp
public synchronized Timestamp getTimestamp(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTimestamp(java.lang.String)



getTimestamp
public synchronized Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getTimestamp(java.lang.Stringjava.util.Calendar)



getURL
public synchronized URL getURL(int parameterIndex) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getURL(int)



getURL
public synchronized URL getURL(String parameterName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.getURL(java.lang.String)



mapOutputParameterIndexToRsIndex
protected int mapOutputParameterIndexToRsIndex(int paramIndex) throws SQLException(Code)



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

See Also:   java.sql.CallableStatement.registerOutParameter(intint)



registerOutParameter
public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException(Code)

See Also:   java.sql.CallableStatement.registerOutParameter(intintint)



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

See Also:   java.sql.CallableStatement.registerOutParameter(intintjava.lang.String)



registerOutParameter
public synchronized void registerOutParameter(String parameterName, int sqlType) throws SQLException(Code)

See Also:   java.sql.CallableStatement.registerOutParameter(java.lang.Stringint)



registerOutParameter
public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException(Code)

See Also:   java.sql.CallableStatement.registerOutParameter(java.lang.Stringintint)



registerOutParameter
public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException(Code)

See Also:   java.sql.CallableStatement.registerOutParameter(java.lang.Stringintjava.lang.String)



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

See Also:   java.sql.CallableStatement.setAsciiStream(java.lang.Stringjava.io.InputStreamint)



setAsciiStream
public void setAsciiStream(String parameterName, InputStream x) throws SQLException(Code)



setAsciiStream
public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException(Code)



setBigDecimal
public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setBigDecimal(java.lang.Stringjava.math.BigDecimal)



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

See Also:   java.sql.CallableStatement.setBinaryStream(java.lang.Stringjava.io.InputStreamint)



setBinaryStream
public void setBinaryStream(String parameterName, InputStream x) throws SQLException(Code)



setBinaryStream
public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException(Code)



setBlob
public void setBlob(String parameterName, Blob x) throws SQLException(Code)



setBlob
public void setBlob(String parameterName, InputStream inputStream) throws SQLException(Code)



setBlob
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException(Code)



setBoolean
public void setBoolean(String parameterName, boolean x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setBoolean(java.lang.Stringboolean)



setByte
public void setByte(String parameterName, byte x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setByte(java.lang.Stringbyte)



setBytes
public void setBytes(String parameterName, byte[] x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setBytes(java.lang.Stringbyte[])



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

See Also:   java.sql.CallableStatement.setCharacterStream(java.lang.Stringjava.io.Readerint)



setCharacterStream
public void setCharacterStream(String parameterName, Reader reader) throws SQLException(Code)



setCharacterStream
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException(Code)



setClob
public void setClob(String parameterName, Clob x) throws SQLException(Code)



setClob
public void setClob(String parameterName, Reader reader) throws SQLException(Code)



setClob
public void setClob(String parameterName, Reader reader, long length) throws SQLException(Code)



setDate
public void setDate(String parameterName, Date x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setDate(java.lang.Stringjava.sql.Date)



setDate
public void setDate(String parameterName, Date x, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setDate(java.lang.Stringjava.sql.Datejava.util.Calendar)



setDouble
public void setDouble(String parameterName, double x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setDouble(java.lang.Stringdouble)



setFloat
public void setFloat(String parameterName, float x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setFloat(java.lang.Stringfloat)



setInt
public void setInt(String parameterName, int x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setInt(java.lang.Stringint)



setLong
public void setLong(String parameterName, long x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setLong(java.lang.Stringlong)



setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value) throws SQLException(Code)



setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException(Code)



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

See Also:   java.sql.CallableStatement.setNull(java.lang.Stringint)



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

See Also:   java.sql.CallableStatement.setNull(java.lang.Stringintjava.lang.String)



setObject
public void setObject(String parameterName, Object x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setObject(java.lang.Stringjava.lang.Object)



setObject
public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setObject(java.lang.Stringjava.lang.Objectint)



setObject
public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setObject(java.lang.Stringjava.lang.Objectintint)



setShort
public void setShort(String parameterName, short x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setShort(java.lang.Stringshort)



setString
public void setString(String parameterName, String x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setString(java.lang.Stringjava.lang.String)



setTime
public void setTime(String parameterName, Time x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setTime(java.lang.Stringjava.sql.Time)



setTime
public void setTime(String parameterName, Time x, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setTime(java.lang.Stringjava.sql.Timejava.util.Calendar)



setTimestamp
public void setTimestamp(String parameterName, Timestamp x) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setTimestamp(java.lang.Stringjava.sql.Timestamp)



setTimestamp
public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setTimestamp(java.lang.Stringjava.sql.Timestampjava.util.Calendar)



setURL
public void setURL(String parameterName, URL val) throws SQLException(Code)

See Also:   java.sql.CallableStatement.setURL(java.lang.Stringjava.net.URL)



wasNull
public synchronized boolean wasNull() throws SQLException(Code)

See Also:   java.sql.CallableStatement.wasNull



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.