Java Doc for PreparedStatementSerialization.java in  » Database-JDBC-Connection-Pool » sequoia-2.10.9 » org » continuent » sequoia » common » protocol » 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 » sequoia 2.10.9 » org.continuent.sequoia.common.protocol 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.continuent.sequoia.common.protocol.PreparedStatementSerialization

PreparedStatementSerialization
final public class PreparedStatementSerialization (Code)
This class contains the data used to serialize PreparedStatement.
author:
   Emmanuel Cecchet
version:
   1.0


Field Summary
final public static  StringBIG_DECIMAL_TAG
    
final public static  StringBLOB_TAG
    
final public static  StringBOOLEAN_TAG
    
final public static  StringBYTES_TAG
    
final public static  StringBYTE_TAG
    
final public static  StringCLOB_TAG
    
final public static  StringCS_PARAM_TAG
    
final public static  StringDATE_TAG
    
final public static  StringDOUBLE_TAG
    
final public static  StringEND_PARAM_TAG
    
final public static  StringFLOAT_TAG
    
final public static  StringINTEGER_TAG
    
final public static  StringLONG_TAG
    
final public static  StringNAMED_PARAMETER_TAG
    
final public static  StringNULL_STRING_TAG
     Special escape _type_ tag used when the string parameter is unfortunately equal to an encoded null value.
final public static  StringNULL_VALUE
     Encoding of a NULL value.
final public static  StringOBJECT_TAG
    
final public static  StringREF_TAG
    
final public static  StringREGISTER_OUT_PARAMETER
    
final public static  StringREGISTER_OUT_PARAMETER_WITH_NAME
    
final public static  StringREGISTER_OUT_PARAMETER_WITH_SCALE
    
final public static  StringSHORT_TAG
    
final public static  StringSTART_PARAM_TAG
    
final public static  StringSTRING_TAG
    
final public static  StringTAG_MARKER
    
final public static  StringTAG_MARKER_ESCAPE
    
final public static  StringTIMESTAMP_TAG
    
final public static  StringTIME_TAG
    
final public static  StringURL_TAG
    


Method Summary
public static  voidsetCallableStatement(String parameters, CallableStatement cs, StoredProcedure proc)
     Static method to initialize a backend PreparedStatement by calling the appropriate setXXX methods on the request skeleton.
public static  voidsetPreparedStatement(String parameters, java.sql.PreparedStatement backendPS)
     Static method to initialize a backend PreparedStatement by calling the appropriate setXXX methods on the request skeleton.

Field Detail
BIG_DECIMAL_TAG
final public static String BIG_DECIMAL_TAG(Code)

See Also:   java.sql.PreparedStatement.setBigDecimal(intjava.math.BigDecimal)



BLOB_TAG
final public static String BLOB_TAG(Code)

See Also:   java.sql.PreparedStatement.setBlob(intjava.sql.Blob)
See Also:   



BOOLEAN_TAG
final public static String BOOLEAN_TAG(Code)

See Also:   java.sql.PreparedStatement.setBoolean(intboolean)
See Also:   



BYTES_TAG
final public static String BYTES_TAG(Code)

See Also:   java.sql.PreparedStatement.setBytes(intbyte[])
See Also:   



BYTE_TAG
final public static String BYTE_TAG(Code)

See Also:   java.sql.PreparedStatement.setByte(intbyte)
See Also:   



CLOB_TAG
final public static String CLOB_TAG(Code)

See Also:   java.sql.PreparedStatement.setClob(intjava.sql.Clob)
See Also:   



CS_PARAM_TAG
final public static String CS_PARAM_TAG(Code)
Escape for 'void' placeholder when compiling callable statement OUT or named parameter



DATE_TAG
final public static String DATE_TAG(Code)

See Also:   java.sql.PreparedStatement.setDate(intjava.sql.Date)
See Also:   



DOUBLE_TAG
final public static String DOUBLE_TAG(Code)

See Also:   java.sql.PreparedStatement.setDouble(intdouble)
See Also:   



END_PARAM_TAG
final public static String END_PARAM_TAG(Code)
Tag for parameters end delimiter



FLOAT_TAG
final public static String FLOAT_TAG(Code)

See Also:   java.sql.PreparedStatement.setFloat(intfloat)
See Also:   



INTEGER_TAG
final public static String INTEGER_TAG(Code)

See Also:   java.sql.PreparedStatement.setInt(intint)
See Also:   



LONG_TAG
final public static String LONG_TAG(Code)

See Also:   java.sql.PreparedStatement.setLong(intlong)
See Also:   



NAMED_PARAMETER_TAG
final public static String NAMED_PARAMETER_TAG(Code)
Encoding of a named parameter in a CallableStatement



NULL_STRING_TAG
final public static String NULL_STRING_TAG(Code)
Special escape _type_ tag used when the string parameter is unfortunately equal to an encoded null value.



NULL_VALUE
final public static String NULL_VALUE(Code)
Encoding of a NULL value. Also used to as the _TAG for setNull()



OBJECT_TAG
final public static String OBJECT_TAG(Code)

See Also:   java.sql.PreparedStatement.setObject(intjava.lang.Object)



REF_TAG
final public static String REF_TAG(Code)

See Also:   java.sql.PreparedStatement.setRef(intjava.sql.Ref)
See Also:   



REGISTER_OUT_PARAMETER
final public static String REGISTER_OUT_PARAMETER(Code)
Escape for callable statement out parameter



REGISTER_OUT_PARAMETER_WITH_NAME
final public static String REGISTER_OUT_PARAMETER_WITH_NAME(Code)
Escape for callable statement out parameter with type name



REGISTER_OUT_PARAMETER_WITH_SCALE
final public static String REGISTER_OUT_PARAMETER_WITH_SCALE(Code)
Escape for callable statement out parameter with scale



SHORT_TAG
final public static String SHORT_TAG(Code)

See Also:   java.sql.PreparedStatement.setShort(intshort)
See Also:   



START_PARAM_TAG
final public static String START_PARAM_TAG(Code)
Tag for parameters start delimiter



STRING_TAG
final public static String STRING_TAG(Code)

See Also:   java.sql.PreparedStatement.setString(intjava.lang.String)



TAG_MARKER
final public static String TAG_MARKER(Code)
Tag maker for parameters



TAG_MARKER_ESCAPE
final public static String TAG_MARKER_ESCAPE(Code)
Escape for tag maker



TIMESTAMP_TAG
final public static String TIMESTAMP_TAG(Code)

See Also:   java.sql.PreparedStatement.setTimestamp(intjava.sql.Timestamp)



TIME_TAG
final public static String TIME_TAG(Code)

See Also:   java.sql.PreparedStatement.setTime(intjava.sql.Time)
See Also:   



URL_TAG
final public static String URL_TAG(Code)

See Also:   java.sql.PreparedStatement.setURL(intjava.net.URL)
See Also:   





Method Detail
setCallableStatement
public static void setCallableStatement(String parameters, CallableStatement cs, StoredProcedure proc) throws SQLException(Code)
Static method to initialize a backend PreparedStatement by calling the appropriate setXXX methods on the request skeleton. Has to extract the tagged and inlined parameters from the sql String beforehand. Used by the controller.
Parameters:
  parameters - encoded parameters to set
Parameters:
  cs - the CallableStatement to set
Parameters:
  proc - the StoredProcedure that is called
throws:
  SQLException - if an error occurs
See Also:   org.continuent.sequoia.driver.PreparedStatement.setParameterWithTag(intStringString)
See Also:   org.continuent.sequoia.driver.CallableStatement.setNamedParameterWithTag(StringStringString)



setPreparedStatement
public static void setPreparedStatement(String parameters, java.sql.PreparedStatement backendPS) throws SQLException(Code)
Static method to initialize a backend PreparedStatement by calling the appropriate setXXX methods on the request skeleton. Has to extract the tagged and inlined parameters from the sql String beforehand. Used by the controller.
Parameters:
  parameters - encoded parameters to set
Parameters:
  backendPS - the preparedStatement to set
throws:
  SQLException - if an error occurs
See Also:   org.continuent.sequoia.driver.PreparedStatement.setParameterWithTag(intStringString)



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.