Java Doc for PDO.java in  » EJB-Server-resin-3.1.5 » quercus » com » caucho » quercus » lib » db » 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 » EJB Server resin 3.1.5 » quercus » com.caucho.quercus.lib.db 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.quercus.lib.db.PDO

PDO
public class PDO implements EnvCleanup(Code)
PDO object oriented API facade.


Field Summary
final public static  intATTR_AUTOCOMMIT
    
final public static  intATTR_CASE
    
final public static  intATTR_CLIENT_VERSION
    
final public static  intATTR_CONNECTION_STATUS
    
final public static  intATTR_CURSOR
    
final public static  intATTR_CURSOR_NAME
    
final public static  intATTR_DRIVER_NAME
    
final public static  intATTR_ERRMODE
    
final public static  intATTR_FETCH_CATALOG_NAMES
    
final public static  intATTR_FETCH_TABLE_NAMES
    
final public static  intATTR_MAX_COLUMN_LEN
    
final public static  intATTR_ORACLE_NULLS
    
final public static  intATTR_PERSISTENT
    
final public static  intATTR_PREFETCH
    
final public static  intATTR_SERVER_INFO
    
final public static  intATTR_SERVER_VERSION
    
final public static  intATTR_STATEMENT_CLASS
    
final public static  intATTR_STRINGIFY_FETCHES
    
final public static  intATTR_TIMEOUT
    
final public static  intCASE_LOWER
    
final public static  intCASE_NATURAL
    
final public static  intCASE_UPPER
    
final public static  intCURSOR_FWDONLY
    
final public static  intCURSOR_SCROLL
    
final public static  intERRMODE_EXCEPTION
    
final public static  intERRMODE_SILENT
    
final public static  intERRMODE_WARNING
    
final public static  StringERR_NONE
    
final public static  intFETCH_ASSOC
    
final public static  intFETCH_BOTH
    
final public static  intFETCH_BOUND
    
final public static  intFETCH_CLASS
    
final public static  intFETCH_CLASSTYPE
    
final public static  intFETCH_COLUMN
    
final public static  intFETCH_FUNC
    
final public static  intFETCH_GROUP
    
final public static  intFETCH_INTO
    
final public static  intFETCH_LAZY
    
final public static  intFETCH_NAMED
    
final public static  intFETCH_NUM
    
final public static  intFETCH_OBJ
    
final public static  intFETCH_ORI_ABS
    
final public static  intFETCH_ORI_FIRST
    
final public static  intFETCH_ORI_LAST
    
final public static  intFETCH_ORI_NEXT
    
final public static  intFETCH_ORI_PRIOR
    
final public static  intFETCH_ORI_REL
    
final public static  intFETCH_SERIALIZE
    
final public static  intFETCH_UNIQUE
    
final public static  intNULL_EMPTY_STRING
    
final public static  intNULL_NATURAL
    
final public static  intNULL_TO_STRING
    
final public static  intPARAM_BOOL
    
final public static  intPARAM_INPUT_OUTPUT
    
final public static  intPARAM_INT
    
final public static  intPARAM_LOB
    
final public static  intPARAM_NULL
    
final public static  intPARAM_STMT
    
final public static  intPARAM_STR
    

Constructor Summary
public  PDO(Env env, String dsn, String user, String password, ArrayValue options)
    

Method Summary
public  booleanbeginTransaction()
     Starts a transaction.
public  voidcleanup()
     Implements the EnvCleanup interface.
public  voidclose()
    
public  booleancommit()
     Commits a transaction.
public  StringerrorCode()
    
public  ArrayValueerrorInfo()
    
public  intexec(String query)
     Executes a statement, returning the number of rows.
public  ValuegetAttribute(int attribute)
    
public  ArrayValuegetAvailableDrivers()
    
public  intgetCase()
    
public  intgetOracleNulls()
    
public  StringlastInsertId(String name)
    
public  PDOStatementprepare(String statement, ArrayValue driverOptions)
     Prepares a statement for execution.
public  Valuequery(String query)
    
public  Stringquote(String query, int parameterType)
    
public  Stringreal_escape_string(String str)
     Escapes the string.
public  booleanrollBack()
     Rolls a transaction back.
public  booleansetAttribute(int attribute, Value value)
    
public  StringtoString()
    

Field Detail
ATTR_AUTOCOMMIT
final public static int ATTR_AUTOCOMMIT(Code)



ATTR_CASE
final public static int ATTR_CASE(Code)



ATTR_CLIENT_VERSION
final public static int ATTR_CLIENT_VERSION(Code)



ATTR_CONNECTION_STATUS
final public static int ATTR_CONNECTION_STATUS(Code)



ATTR_CURSOR
final public static int ATTR_CURSOR(Code)



ATTR_CURSOR_NAME
final public static int ATTR_CURSOR_NAME(Code)



ATTR_DRIVER_NAME
final public static int ATTR_DRIVER_NAME(Code)



ATTR_ERRMODE
final public static int ATTR_ERRMODE(Code)



ATTR_FETCH_CATALOG_NAMES
final public static int ATTR_FETCH_CATALOG_NAMES(Code)



ATTR_FETCH_TABLE_NAMES
final public static int ATTR_FETCH_TABLE_NAMES(Code)



ATTR_MAX_COLUMN_LEN
final public static int ATTR_MAX_COLUMN_LEN(Code)



ATTR_ORACLE_NULLS
final public static int ATTR_ORACLE_NULLS(Code)



ATTR_PERSISTENT
final public static int ATTR_PERSISTENT(Code)



ATTR_PREFETCH
final public static int ATTR_PREFETCH(Code)



ATTR_SERVER_INFO
final public static int ATTR_SERVER_INFO(Code)



ATTR_SERVER_VERSION
final public static int ATTR_SERVER_VERSION(Code)



ATTR_STATEMENT_CLASS
final public static int ATTR_STATEMENT_CLASS(Code)



ATTR_STRINGIFY_FETCHES
final public static int ATTR_STRINGIFY_FETCHES(Code)



ATTR_TIMEOUT
final public static int ATTR_TIMEOUT(Code)



CASE_LOWER
final public static int CASE_LOWER(Code)



CASE_NATURAL
final public static int CASE_NATURAL(Code)



CASE_UPPER
final public static int CASE_UPPER(Code)



CURSOR_FWDONLY
final public static int CURSOR_FWDONLY(Code)



CURSOR_SCROLL
final public static int CURSOR_SCROLL(Code)



ERRMODE_EXCEPTION
final public static int ERRMODE_EXCEPTION(Code)



ERRMODE_SILENT
final public static int ERRMODE_SILENT(Code)



ERRMODE_WARNING
final public static int ERRMODE_WARNING(Code)



ERR_NONE
final public static String ERR_NONE(Code)



FETCH_ASSOC
final public static int FETCH_ASSOC(Code)



FETCH_BOTH
final public static int FETCH_BOTH(Code)



FETCH_BOUND
final public static int FETCH_BOUND(Code)



FETCH_CLASS
final public static int FETCH_CLASS(Code)



FETCH_CLASSTYPE
final public static int FETCH_CLASSTYPE(Code)



FETCH_COLUMN
final public static int FETCH_COLUMN(Code)



FETCH_FUNC
final public static int FETCH_FUNC(Code)



FETCH_GROUP
final public static int FETCH_GROUP(Code)



FETCH_INTO
final public static int FETCH_INTO(Code)



FETCH_LAZY
final public static int FETCH_LAZY(Code)



FETCH_NAMED
final public static int FETCH_NAMED(Code)



FETCH_NUM
final public static int FETCH_NUM(Code)



FETCH_OBJ
final public static int FETCH_OBJ(Code)



FETCH_ORI_ABS
final public static int FETCH_ORI_ABS(Code)



FETCH_ORI_FIRST
final public static int FETCH_ORI_FIRST(Code)



FETCH_ORI_LAST
final public static int FETCH_ORI_LAST(Code)



FETCH_ORI_NEXT
final public static int FETCH_ORI_NEXT(Code)



FETCH_ORI_PRIOR
final public static int FETCH_ORI_PRIOR(Code)



FETCH_ORI_REL
final public static int FETCH_ORI_REL(Code)



FETCH_SERIALIZE
final public static int FETCH_SERIALIZE(Code)



FETCH_UNIQUE
final public static int FETCH_UNIQUE(Code)



NULL_EMPTY_STRING
final public static int NULL_EMPTY_STRING(Code)



NULL_NATURAL
final public static int NULL_NATURAL(Code)



NULL_TO_STRING
final public static int NULL_TO_STRING(Code)



PARAM_BOOL
final public static int PARAM_BOOL(Code)



PARAM_INPUT_OUTPUT
final public static int PARAM_INPUT_OUTPUT(Code)



PARAM_INT
final public static int PARAM_INT(Code)



PARAM_LOB
final public static int PARAM_LOB(Code)



PARAM_NULL
final public static int PARAM_NULL(Code)



PARAM_STMT
final public static int PARAM_STMT(Code)



PARAM_STR
final public static int PARAM_STR(Code)




Constructor Detail
PDO
public PDO(Env env, String dsn, String user, String password, ArrayValue options)(Code)




Method Detail
beginTransaction
public boolean beginTransaction()(Code)
Starts a transaction.



cleanup
public void cleanup()(Code)
Implements the EnvCleanup interface.



close
public void close()(Code)



commit
public boolean commit()(Code)
Commits a transaction.



errorCode
public String errorCode()(Code)



errorInfo
public ArrayValue errorInfo()(Code)



exec
public int exec(String query) throws SQLException(Code)
Executes a statement, returning the number of rows.



getAttribute
public Value getAttribute(int attribute)(Code)



getAvailableDrivers
public ArrayValue getAvailableDrivers()(Code)



getCase
public int getCase()(Code)



getOracleNulls
public int getOracleNulls()(Code)



lastInsertId
public String lastInsertId(String name)(Code)



prepare
public PDOStatement prepare(String statement, ArrayValue driverOptions)(Code)
Prepares a statement for execution.



query
public Value query(String query)(Code)
Queries the database



quote
public String quote(String query, int parameterType)(Code)
Quotes the string



real_escape_string
public String real_escape_string(String str)(Code)
Escapes the string.



rollBack
public boolean rollBack()(Code)
Rolls a transaction back.



setAttribute
public boolean setAttribute(int attribute, Value value)(Code)



toString
public String toString()(Code)



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.