Java Doc for PreparedStatementResultSetHandler.java in  » Testing » mockrunner-0.4 » com » mockrunner » 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 » Testing » mockrunner 0.4 » com.mockrunner.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mockrunner.jdbc.AbstractResultSetHandler
      com.mockrunner.jdbc.AbstractParameterResultSetHandler
         com.mockrunner.jdbc.PreparedStatementResultSetHandler

PreparedStatementResultSetHandler
public class PreparedStatementResultSetHandler extends AbstractParameterResultSetHandler (Code)
Concrete handler for MockPreparedStatement .



Constructor Summary
public  PreparedStatementResultSetHandler()
    

Method Summary
public  voidaddPreparedStatement(MockPreparedStatement statement)
     The Connection adds new statements with this method.
public  voidclearPreparedStatements()
    
public  MapgetPreparedStatementMap()
     Returns a Map of all prepared statements.
public  ListgetPreparedStatements()
     Returns a List of all prepared statements.


Constructor Detail
PreparedStatementResultSetHandler
public PreparedStatementResultSetHandler()(Code)




Method Detail
addPreparedStatement
public void addPreparedStatement(MockPreparedStatement statement)(Code)
The Connection adds new statements with this method.
Parameters:
  statement - the MockPreparedStatement



clearPreparedStatements
public void clearPreparedStatements()(Code)
Clears all prepared statements



getPreparedStatementMap
public Map getPreparedStatementMap()(Code)
Returns a Map of all prepared statements. The SQL strings map to the corresponding MockPreparedStatement object. the Map of MockPreparedStatement objects



getPreparedStatements
public List getPreparedStatements()(Code)
Returns a List of all prepared statements. the List of MockPreparedStatement objects



Methods inherited from com.mockrunner.jdbc.AbstractParameterResultSetHandler
public void addParameterMapForExecutedStatement(String sql, Map parameters)(Code)(Java Doc)
public void clearGeneratedKeys()(Code)(Java Doc)
public void clearResultSets()(Code)(Java Doc)
public void clearThrowsSQLException()(Code)(Java Doc)
public void clearUpdateCounts()(Code)(Java Doc)
public Map getExecutedStatementParameter()(Code)(Java Doc)
public Map getExecutedStatementParameterMap()(Code)(Java Doc)
public MockResultSet getGeneratedKeys(String sql, Map parameters)(Code)(Java Doc)
protected ParameterWrapper getMatchingParameterWrapper(String sql, Map parameters, Map statementMap)(Code)(Java Doc)
public ParameterSets getParametersForExecutedStatement(String sql)(Code)(Java Doc)
public MockResultSet getResultSet(String sql, Map parameters)(Code)(Java Doc)
public MockResultSet[] getResultSets(String sql, Map parameters)(Code)(Java Doc)
public SQLException getSQLException(String sql, Map parameters)(Code)(Java Doc)
public boolean getThrowsSQLException(String sql, Map parameters)(Code)(Java Doc)
public Integer getUpdateCount(String sql, Map parameters)(Code)(Java Doc)
public Integer[] getUpdateCounts(String sql, Map parameters)(Code)(Java Doc)
public boolean hasMultipleResultSets(String sql, Map parameters)(Code)(Java Doc)
public boolean hasMultipleUpdateCounts(String sql, Map parameters)(Code)(Java Doc)
public void prepareGeneratedKeys(String sql, MockResultSet generatedKeysResult, Object[] parameters)(Code)(Java Doc)
public void prepareGeneratedKeys(String sql, MockResultSet generatedKeysResult, List parameters)(Code)(Java Doc)
public void prepareGeneratedKeys(String sql, MockResultSet generatedKeysResult, Map parameters)(Code)(Java Doc)
public void prepareResultSet(String sql, MockResultSet resultSet, Object[] parameters)(Code)(Java Doc)
public void prepareResultSet(String sql, MockResultSet resultSet, List parameters)(Code)(Java Doc)
public void prepareResultSet(String sql, MockResultSet resultSet, Map parameters)(Code)(Java Doc)
public void prepareResultSets(String sql, MockResultSet[] resultSets, Object[] parameters)(Code)(Java Doc)
public void prepareResultSets(String sql, MockResultSet[] resultSets, List parameters)(Code)(Java Doc)
public void prepareResultSets(String sql, MockResultSet[] resultSets, Map parameters)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, Object[] parameters)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, List parameters)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, Map parameters)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, SQLException exc, Object[] parameters)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, SQLException exc, List parameters)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, SQLException exc, Map parameters)(Code)(Java Doc)
public void prepareUpdateCount(String sql, int updateCount, Object[] parameters)(Code)(Java Doc)
public void prepareUpdateCount(String sql, int updateCount, List parameters)(Code)(Java Doc)
public void prepareUpdateCount(String sql, int updateCount, Map parameters)(Code)(Java Doc)
public void prepareUpdateCounts(String sql, int[] updateCounts, Object[] parameters)(Code)(Java Doc)
public void prepareUpdateCounts(String sql, int[] updateCounts, List parameters)(Code)(Java Doc)
public void prepareUpdateCounts(String sql, int[] updateCounts, Map parameters)(Code)(Java Doc)
public void setExactMatchParameter(boolean exactMatchParameter)(Code)(Java Doc)

Methods inherited from com.mockrunner.jdbc.AbstractResultSetHandler
public void addExecutedStatement(String sql)(Code)(Java Doc)
public void addReturnedResultSet(MockResultSet resultSet)(Code)(Java Doc)
public void addReturnedResultSets(MockResultSet[] resultSets)(Code)(Java Doc)
public void clearGeneratedKeys()(Code)(Java Doc)
public void clearGlobalGeneratedKeys()(Code)(Java Doc)
public void clearGlobalResultSet()(Code)(Java Doc)
public void clearGlobalUpdateCount()(Code)(Java Doc)
public void clearResultSets()(Code)(Java Doc)
public void clearReturnsResultSet()(Code)(Java Doc)
public void clearThrowsSQLException()(Code)(Java Doc)
public void clearUpdateCounts()(Code)(Java Doc)
public MockResultSet createResultSet()(Code)(Java Doc)
public MockResultSet createResultSet(String id)(Code)(Java Doc)
public MockResultSet createResultSet(ResultSetFactory factory)(Code)(Java Doc)
public MockResultSet createResultSet(String id, ResultSetFactory factory)(Code)(Java Doc)
protected boolean getCaseSensitive()(Code)(Java Doc)
public boolean getContinueProcessingOnBatchFailure()(Code)(Java Doc)
protected boolean getExactMatch()(Code)(Java Doc)
public List getExecutedStatements()(Code)(Java Doc)
public MockResultSet getGeneratedKeys(String sql)(Code)(Java Doc)
public Map getGeneratedKeysMap()(Code)(Java Doc)
public MockResultSet getGlobalGeneratedKeys()(Code)(Java Doc)
public MockResultSet getGlobalResultSet()(Code)(Java Doc)
public MockResultSet[] getGlobalResultSets()(Code)(Java Doc)
public int getGlobalUpdateCount()(Code)(Java Doc)
public int[] getGlobalUpdateCounts()(Code)(Java Doc)
public MockResultSet getResultSet(String sql)(Code)(Java Doc)
public Map getResultSetMap()(Code)(Java Doc)
public MockResultSet[] getResultSets(String sql)(Code)(Java Doc)
public List getReturnedResultSets()(Code)(Java Doc)
public Boolean getReturnsResultSet(String sql)(Code)(Java Doc)
public SQLException getSQLException(String sql)(Code)(Java Doc)
public boolean getThrowsSQLException(String sql)(Code)(Java Doc)
public Integer getUpdateCount(String sql)(Code)(Java Doc)
public Map getUpdateCountMap()(Code)(Java Doc)
public Integer[] getUpdateCounts(String sql)(Code)(Java Doc)
protected boolean getUseRegularExpressions()(Code)(Java Doc)
public boolean hasMultipleGlobalResultSets()(Code)(Java Doc)
public boolean hasMultipleGlobalUpdateCounts()(Code)(Java Doc)
public boolean hasMultipleResultSets(String sql)(Code)(Java Doc)
public boolean hasMultipleUpdateCounts(String sql)(Code)(Java Doc)
public void prepareGeneratedKeys(String sql, MockResultSet generatedKeysResult)(Code)(Java Doc)
public void prepareGlobalGeneratedKeys(MockResultSet generatedKeysResult)(Code)(Java Doc)
public void prepareGlobalResultSet(MockResultSet resultSet)(Code)(Java Doc)
public void prepareGlobalResultSets(MockResultSet[] resultSets)(Code)(Java Doc)
public void prepareGlobalUpdateCount(int updateCount)(Code)(Java Doc)
public void prepareGlobalUpdateCounts(int[] updateCounts)(Code)(Java Doc)
public void prepareResultSet(String sql, MockResultSet resultSet)(Code)(Java Doc)
public void prepareResultSets(String sql, MockResultSet[] resultSets)(Code)(Java Doc)
public void prepareReturnsResultSet(String sql, boolean returnsResultSet)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql)(Code)(Java Doc)
public void prepareThrowsSQLException(String sql, SQLException exc)(Code)(Java Doc)
public void prepareUpdateCount(String sql, int updateCount)(Code)(Java Doc)
public void prepareUpdateCounts(String sql, int[] updateCounts)(Code)(Java Doc)
public void setCaseSensitive(boolean caseSensitive)(Code)(Java Doc)
public void setContinueProcessingOnBatchFailure(boolean continueProcessingOnBatchFailure)(Code)(Java Doc)
public void setExactMatch(boolean exactMatch)(Code)(Java Doc)
public void setUseRegularExpressions(boolean useRegularExpressions)(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.