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

JDBC4PreparedStatement
public class JDBC4PreparedStatement extends PreparedStatement (Code)



Constructor Summary
public  JDBC4PreparedStatement(ConnectionImpl conn, String catalog)
    
public  JDBC4PreparedStatement(ConnectionImpl conn, String sql, String catalog)
    
public  JDBC4PreparedStatement(ConnectionImpl conn, String sql, String catalog, ParseInfo cachedParseInfo)
    

Method Summary
public  voidsetNClob(int parameterIndex, NClob value)
     JDBC 4.0 Set a NCLOB parameter.
public  voidsetRowId(int parameterIndex, RowId x)
    
public  voidsetSQLXML(int parameterIndex, SQLXML xmlObject)
    


Constructor Detail
JDBC4PreparedStatement
public JDBC4PreparedStatement(ConnectionImpl conn, String catalog) throws SQLException(Code)



JDBC4PreparedStatement
public JDBC4PreparedStatement(ConnectionImpl conn, String sql, String catalog) throws SQLException(Code)



JDBC4PreparedStatement
public JDBC4PreparedStatement(ConnectionImpl conn, String sql, String catalog, ParseInfo cachedParseInfo) throws SQLException(Code)




Method Detail
setNClob
public void setNClob(int parameterIndex, NClob value) throws SQLException(Code)
JDBC 4.0 Set a NCLOB parameter.
Parameters:
  i - the first parameter is 1, the second is 2, ...
Parameters:
  x - an object representing a NCLOB
throws:
  SQLException - if a database error occurs



setRowId
public void setRowId(int parameterIndex, RowId x) throws SQLException(Code)



setSQLXML
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException(Code)



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.