Java Doc for SimpleJdbcCallOperations.java in  » J2EE » spring-framework-2.5 » org » springframework » jdbc » core » simple » 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 » J2EE » spring framework 2.5 » org.springframework.jdbc.core.simple 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.springframework.jdbc.core.simple.SimpleJdbcCallOperations

All known Subclasses:   org.springframework.jdbc.core.simple.SimpleJdbcCall,
SimpleJdbcCallOperations
public interface SimpleJdbcCallOperations (Code)
Interface specifying the API for a Simple JDBC Call implemented by SimpleJdbcCall . This interface is not often used directly, but provides the option to enhance testability, as it can easily be mocked or stubbed.
author:
   Thomas Risberg
since:
   2.5




Method Summary
 SimpleJdbcCallOperationsdeclareParameters(SqlParameter... sqlParameters)
     Specify one or more parameters if desired.
 Map<String, Object>execute()
     Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..
 Map<String, Object>execute(Map<String, Object> args)
     Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..
Parameters:
  args - Map containing the parameter values to be used in the call.
 Map<String, Object>execute(SqlParameterSource args)
     Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..
Parameters:
  args - SqlParameterSource containing the parameter values to be used in the call.
 TexecuteFunction(Class<T> returnType, Map args)
     Execute the stored function and return the results obtained as an Object of the specified return type.
 TexecuteFunction(Class<T> returnType, MapSqlParameterSource args)
     Execute the stored function and return the results obtained as an Object of the specified return type.
 TexecuteObject(Class<T> returnType, Map args)
     Execute the stored procedure and return the single out parameter as an Object of the specified return type.
 TexecuteObject(Class<T> returnType, MapSqlParameterSource args)
     Execute the stored procedure and return the single out parameter as an Object of the specified return type.
 SimpleJdbcCallOperationsreturningResultSet(String parameterName, ParameterizedRowMapper rowMapper)
     Used to specify when a ResultSet is returned by the stored procedure and you want it mapped by a RowMapper.
 SimpleJdbcCallOperationsuseInParameterNames(String... inParameterNames)
    
 SimpleJdbcCallOperationswithCatalogName(String catalogName)
     Optionally, specify the name of the catalog that contins the stored procedure.
 SimpleJdbcCallOperationswithFunctionName(String functionName)
     Specify the procedure name to be used - this implies that we will be calling a stored function.
 SimpleJdbcCallOperationswithProcedureName(String procedureName)
     Specify the procedure name to be used - this implies that we will be calling a stored procedure.
 SimpleJdbcCallOperationswithReturnValue()
     Indicates the procedure's return value should be included in the results returned.
 SimpleJdbcCallOperationswithSchemaName(String schemaName)
     Optionally, specify the name of the schema that contins the stored procedure.
 SimpleJdbcCallOperationswithoutProcedureColumnMetaDataAccess()
     Turn off any processing of parameter meta data information obtained via JDBC.



Method Detail
declareParameters
SimpleJdbcCallOperations declareParameters(SqlParameter... sqlParameters)(Code)
Specify one or more parameters if desired. These parameters will be supplemented with any parameter information retrieved from the database meta data.
Parameters:
  sqlParameters - the parameters to use the instance of this SimpleJdbcCall



execute
Map<String, Object> execute()(Code)
Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations.. map of output params.



execute
Map<String, Object> execute(Map<String, Object> args)(Code)
Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..
Parameters:
  args - Map containing the parameter values to be used in the call. map of output params.



execute
Map<String, Object> execute(SqlParameterSource args)(Code)
Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations..
Parameters:
  args - SqlParameterSource containing the parameter values to be used in the call. map of output params.



executeFunction
T executeFunction(Class<T> returnType, Map args)(Code)
Execute the stored function and return the results obtained as an Object of the specified return type.
Parameters:
  returnType - the type of the value to return
Parameters:
  args - Map containing the parameter values to be used in the call.



executeFunction
T executeFunction(Class<T> returnType, MapSqlParameterSource args)(Code)
Execute the stored function and return the results obtained as an Object of the specified return type.
Parameters:
  returnType - the type of the value to return
Parameters:
  args - MapSqlParameterSource containing the parameter values to be used in the call.



executeObject
T executeObject(Class<T> returnType, Map args)(Code)
Execute the stored procedure and return the single out parameter as an Object of the specified return type. In the case where there are multiple out parameters, the first one is returned and additional out parameters are ignored.
Parameters:
  returnType - the type of the value to return
Parameters:
  args - Map containing the parameter values to be used in the call.



executeObject
T executeObject(Class<T> returnType, MapSqlParameterSource args)(Code)
Execute the stored procedure and return the single out parameter as an Object of the specified return type. In the case where there are multiple out parameters, the first one is returned and additional out parameters are ignored.
Parameters:
  returnType - the type of the value to return
Parameters:
  args - MapSqlParameterSource containing the parameter values to be used in the call.



returningResultSet
SimpleJdbcCallOperations returningResultSet(String parameterName, ParameterizedRowMapper rowMapper)(Code)
Used to specify when a ResultSet is returned by the stored procedure and you want it mapped by a RowMapper. The results will be returned using the parameter name specified. Multiple ResultSets must be declared in the correct order. If the database you are using uses ref cursors then the name specified must match the name of the parameter declared for the procedure in the database.
Parameters:
  parameterName - the name of the returned results and/or the name of the ref cursor parameter
Parameters:
  rowMapper - the RowMapper implementation that will map the data returned for each row



useInParameterNames
SimpleJdbcCallOperations useInParameterNames(String... inParameterNames)(Code)
Not used yet



withCatalogName
SimpleJdbcCallOperations withCatalogName(String catalogName)(Code)
Optionally, specify the name of the catalog that contins the stored procedure. To provide consistency with the Oracle DatabaseMetaData, this is used to specify the package name if the procedure is declared as part of a package.
Parameters:
  catalogName - the catalog or package name the instance of this SimpleJdbcCall



withFunctionName
SimpleJdbcCallOperations withFunctionName(String functionName)(Code)
Specify the procedure name to be used - this implies that we will be calling a stored function.
Parameters:
  functionName - the name of the stored function the instance of this SimpleJdbcCall



withProcedureName
SimpleJdbcCallOperations withProcedureName(String procedureName)(Code)
Specify the procedure name to be used - this implies that we will be calling a stored procedure.
Parameters:
  procedureName - the name of the stored procedure the instance of this SimpleJdbcCall



withReturnValue
SimpleJdbcCallOperations withReturnValue()(Code)
Indicates the procedure's return value should be included in the results returned. the instance of this SimpleJdbcCall



withSchemaName
SimpleJdbcCallOperations withSchemaName(String schemaName)(Code)
Optionally, specify the name of the schema that contins the stored procedure.
Parameters:
  schemaName - the name of the schema the instance of this SimpleJdbcCall



withoutProcedureColumnMetaDataAccess
SimpleJdbcCallOperations withoutProcedureColumnMetaDataAccess()(Code)
Turn off any processing of parameter meta data information obtained via JDBC. the instance of this SimpleJdbcCall



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