Java Doc for StatementConfiguration.java in  » Inversion-of-Control » carbon » org » sape » carbon » services » sql » 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 » Inversion of Control » carbon » org.sape.carbon.services.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sape.carbon.services.sql.StatementConfiguration

StatementConfiguration
public interface StatementConfiguration extends Configuration(Code)

This configuration holds the definition of a specific SQL statement. It maintains the parameters that are configurable on java.sql.Statement objects and their subclasses in order to allow configurable modification of their use with the Statement Factory.

Copyright 2002 Sapient
since:
   carbon 1.0
author:
   Vivekanand Kirubanandan, June 2002
author:
   Greg Hinkle, December 2002
version:
   $Revision: 1.6 $($Author: dvoet $ / $Date: 2003/05/05 21:21:36 $)




Method Summary
 ConnectionFactorygetConnectionFactory()
     Getter for the connection factory to be used when creating queries.
 IntegergetFetchSize()
     Getter for the configured fetch size.
 IntegergetMaxFieldSize()
     Getter for the maximum field size.
 IntegergetMaxRows()
     Getter for the configured maximum number of rows to return.
 StringgetQuery()
    
 StringgetQueryName()
    
 IntegergetQueryTimeOut()
     Getter for the configured query timeout.
 ResultSetConcurrencyEnumgetResultSetConcurrency()
     Getter for the configured query's result set concurrency.
 ResultSetTypeEnumgetResultSetType()
    
 voidsetConnectionFactory(ConnectionFactory connectionFactory)
    
 voidsetFetchSize(Integer fetchSize)
     Setter for the fetch size on results sets.
 voidsetMaxFieldSize(Integer maxFieldSize)
     Setter for the size of fields to be returned.
 voidsetMaxRows(Integer maxRows)
     Setter for the max rows to return.
 voidsetQuery(String query)
    
 voidsetQueryName(String queryName)
    
 voidsetQueryTimeOut(Integer queryTimeOut)
     Setter for the timeout in milleseconds of this query
Parameters:
  queryTimeOut - the number of milleseconds before the driver shouldtimeout a database query.
 voidsetResultSetConcurrency(ResultSetConcurrencyEnum resultSetConcurrency)
     Setter for the concurrency of the result set.
 voidsetResultSetType(ResultSetTypeEnum resultSetType)
     Setter for the default type of result set.



Method Detail
getConnectionFactory
ConnectionFactory getConnectionFactory()(Code)
Getter for the connection factory to be used when creating queries. the specific connection factory for this query



getFetchSize
Integer getFetchSize()(Code)
Getter for the configured fetch size. Gets the configured driver hint for rows to returnat a time.



getMaxFieldSize
Integer getMaxFieldSize()(Code)
Getter for the maximum field size. the maximum field size in bytes



getMaxRows
Integer getMaxRows()(Code)
Getter for the configured maximum number of rows to return. the maximum number of rows to return.



getQuery
String getQuery()(Code)
The getter for the sql code of this query the sql query code



getQueryName
String getQueryName()(Code)
Getter for the name of the query the name of the query



getQueryTimeOut
Integer getQueryTimeOut()(Code)
Getter for the configured query timeout. the configured query timeout in milleseconds



getResultSetConcurrency
ResultSetConcurrencyEnum getResultSetConcurrency()(Code)
Getter for the configured query's result set concurrency. the default concurrency for this query



getResultSetType
ResultSetTypeEnum getResultSetType()(Code)
Getter for the result set type the default type of result set



setConnectionFactory
void setConnectionFactory(ConnectionFactory connectionFactory)(Code)
Setter for the connection factory
Parameters:
  connectionFactory - the default connection factory for this query



setFetchSize
void setFetchSize(Integer fetchSize)(Code)
Setter for the fetch size on results sets.
Parameters:
  fetchSize - A driver hint for the count of records to be returnedon each database message.



setMaxFieldSize
void setMaxFieldSize(Integer maxFieldSize)(Code)
Setter for the size of fields to be returned.
Parameters:
  maxFieldSize - The max size, in bytes, that the driver should returnfor a column.



setMaxRows
void setMaxRows(Integer maxRows)(Code)
Setter for the max rows to return.
Parameters:
  maxRows - The maximum number of rows to return from a query.



setQuery
void setQuery(String query)(Code)
Setter for the sql query
Parameters:
  query - the sql of this query



setQueryName
void setQueryName(String queryName)(Code)
Setter for the query name
Parameters:
  queryName - the name of the query



setQueryTimeOut
void setQueryTimeOut(Integer queryTimeOut)(Code)
Setter for the timeout in milleseconds of this query
Parameters:
  queryTimeOut - the number of milleseconds before the driver shouldtimeout a database query. (Drivers have defaults)



setResultSetConcurrency
void setResultSetConcurrency(ResultSetConcurrencyEnum resultSetConcurrency)(Code)
Setter for the concurrency of the result set.
Parameters:
  resultSetConcurrency - the concurrency type of the result set
See Also:   java.sql.ResultSet.CONCUR_READ_ONLY
See Also:   java.sql.ResultSet.CONCUR_UPDATABLE



setResultSetType
void setResultSetType(ResultSetTypeEnum resultSetType)(Code)
Setter for the default type of result set.
Parameters:
  resultSetType - the type of result set created
See Also:   java.sql.ResultSet.TYPE_FORWARD_ONLY
See Also:   java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE
See Also:   java.sql.ResultSet.TYPE_SCROLL_SENSITIVE



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