Java Doc for AbstractJdbc2Connection.java in  » Database-JDBC-Connection-Pool » postgresql » org » postgresql » jdbc2 » 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 » postgresql » org.postgresql.jdbc2 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.postgresql.jdbc2.AbstractJdbc2Connection

All known Subclasses:   org.postgresql.jdbc2.Jdbc2Connection,  org.postgresql.jdbc3.AbstractJdbc3Connection,
AbstractJdbc2Connection
abstract public class AbstractJdbc2Connection implements BaseConnection(Code)
This class defines methods of the jdbc2 specification. The real Connection class (for jdbc2) is org.postgresql.jdbc2.Jdbc2Connection


Field Summary
public  booleanautoCommit
    
final public  booleanbindStringAsVarchar
    
public  SQLWarningfirstWarning
    
protected  java.sql.DatabaseMetaDatametadata
    
protected  intprepareThreshold
    
public  booleanreadOnly
    
protected  java.util.Maptypemap
    

Constructor Summary
protected  AbstractJdbc2Connection(String host, int port, String user, String database, Properties info, String url)
    

Method Summary
public  voidaddDataType(String type, String name)
    
public  voidaddDataType(String type, Class klass)
    
public  voidaddWarning(SQLWarning warn)
    
public  voidcancelQuery()
    
public synchronized  voidclearWarnings()
    
public  voidclose()
     In some cases, it is desirable to immediately release a Connection's database and JDBC resources instead of waiting for them to be automatically released. Note: A Connection is automatically closed when it is garbage collected.
public  voidcommit()
    
public  java.sql.StatementcreateStatement()
    
abstract public  java.sql.StatementcreateStatement(int resultSetType, int resultSetConcurrency)
    
protected  voidenableDriverManagerLogging()
    
public  byte[]encodeString(String str)
    
public  StringescapeString(String str)
    
public  ResultSetexecSQLQuery(String s)
    
public  ResultSetexecSQLQuery(String s, int resultSetType, int resultSetConcurrency)
     Simple query execution.
public  voidexecSQLUpdate(String s)
    
protected  voidfinalize()
    
public  booleangetAutoCommit()
    
public  StringgetCatalog()
    
public  StringgetCursorName()
    
public  StringgetDBVersionNumber()
    
public  EncodinggetEncoding()
    
public  FastpathgetFastpathAPI()
    
protected  StringgetIsolationLevelName(int level)
    
public  StringgetJavaClass(int oid)
    
public  LargeObjectManagergetLargeObjectAPI()
    
public  LoggergetLogger()
    
abstract public  DatabaseMetaDatagetMetaData()
    
public  PGNotification[]getNotifications()
    
public  ObjectgetObject(String type, String value)
    
public  intgetPGType(String typeName)
    
public  StringgetPGType(int oid)
    
public  IteratorgetPGTypeNamesWithSQLTypes()
    
public  intgetPrepareThreshold()
    
public  intgetProtocolVersion()
    
public  QueryExecutorgetQueryExecutor()
    
public  intgetSQLType(int oid)
    
public  intgetSQLType(String pgTypeName)
    
public  intgetServerMajorVersion()
    
public  intgetServerMinorVersion()
    
public  booleangetStandardConformingStrings()
    
public  booleangetStringVarcharFlag()
    
public  TimestampUtilsgetTimestampUtils()
    
public  intgetTransactionIsolation()
    
public  java.util.MapgetTypeMap()
    
public  StringgetURL()
    
public  StringgetUserName()
    
public synchronized  SQLWarninggetWarnings()
    
public  booleanhaveMinimumCompatibleVersion(String ver)
    
public  booleanhaveMinimumServerVersion(String ver)
     Is the server we are connected to running at least this version? This comparison method will fail whenever a major or minor version goes to two digits (10.3.0) or (7.10.1).
public  booleanisClosed()
    
public  booleanisReadOnly()
    
public  StringnativeSQL(String sql)
    
public  java.sql.CallableStatementprepareCall(String sql)
    
abstract public  java.sql.CallableStatementprepareCall(String sql, int resultSetType, int resultSetConcurrency)
    
public  java.sql.PreparedStatementprepareStatement(String sql)
    
abstract public  java.sql.PreparedStatementprepareStatement(String sql, int resultSetType, int resultSetConcurrency)
    
public  voidrollback()
    
public  voidsetAutoCommit(boolean autoCommit)
    
public  voidsetCatalog(String catalog)
    
public  voidsetCursorName(String cursor)
    
public  voidsetPrepareThreshold(int newThreshold)
    
public  voidsetReadOnly(boolean readOnly)
    
public  voidsetTransactionIsolation(int level)
    
public  voidsetTypeMapImpl(java.util.Map map)
    

Field Detail
autoCommit
public boolean autoCommit(Code)



bindStringAsVarchar
final public boolean bindStringAsVarchar(Code)



firstWarning
public SQLWarning firstWarning(Code)



metadata
protected java.sql.DatabaseMetaData metadata(Code)



prepareThreshold
protected int prepareThreshold(Code)



readOnly
public boolean readOnly(Code)



typemap
protected java.util.Map typemap(Code)




Constructor Detail
AbstractJdbc2Connection
protected AbstractJdbc2Connection(String host, int port, String user, String database, Properties info, String url) throws SQLException(Code)




Method Detail
addDataType
public void addDataType(String type, String name)(Code)



addDataType
public void addDataType(String type, Class klass) throws SQLException(Code)



addWarning
public void addWarning(SQLWarning warn)(Code)



cancelQuery
public void cancelQuery() throws SQLException(Code)



clearWarnings
public synchronized void clearWarnings() throws SQLException(Code)



close
public void close()(Code)
In some cases, it is desirable to immediately release a Connection's database and JDBC resources instead of waiting for them to be automatically released. Note: A Connection is automatically closed when it is garbage collected. Certain fatal errors also result in a closed connection.
exception:
  SQLException - if a database access error occurs



commit
public void commit() throws SQLException(Code)



createStatement
public java.sql.Statement createStatement() throws SQLException(Code)



createStatement
abstract public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException(Code)



enableDriverManagerLogging
protected void enableDriverManagerLogging()(Code)



encodeString
public byte[] encodeString(String str) throws SQLException(Code)



escapeString
public String escapeString(String str) throws SQLException(Code)



execSQLQuery
public ResultSet execSQLQuery(String s) throws SQLException(Code)



execSQLQuery
public ResultSet execSQLQuery(String s, int resultSetType, int resultSetConcurrency) throws SQLException(Code)
Simple query execution.



execSQLUpdate
public void execSQLUpdate(String s) throws SQLException(Code)



finalize
protected void finalize() throws Throwable(Code)



getAutoCommit
public boolean getAutoCommit()(Code)



getCatalog
public String getCatalog() throws SQLException(Code)



getCursorName
public String getCursorName() throws SQLException(Code)



getDBVersionNumber
public String getDBVersionNumber()(Code)



getEncoding
public Encoding getEncoding()(Code)



getFastpathAPI
public Fastpath getFastpathAPI() throws SQLException(Code)



getIsolationLevelName
protected String getIsolationLevelName(int level)(Code)



getJavaClass
public String getJavaClass(int oid) throws SQLException(Code)



getLargeObjectAPI
public LargeObjectManager getLargeObjectAPI() throws SQLException(Code)



getLogger
public Logger getLogger()(Code)



getMetaData
abstract public DatabaseMetaData getMetaData() throws SQLException(Code)



getNotifications
public PGNotification[] getNotifications() throws SQLException(Code)



getObject
public Object getObject(String type, String value) throws SQLException(Code)



getPGType
public int getPGType(String typeName) throws SQLException(Code)



getPGType
public String getPGType(int oid) throws SQLException(Code)



getPGTypeNamesWithSQLTypes
public Iterator getPGTypeNamesWithSQLTypes()(Code)



getPrepareThreshold
public int getPrepareThreshold()(Code)



getProtocolVersion
public int getProtocolVersion()(Code)



getQueryExecutor
public QueryExecutor getQueryExecutor()(Code)



getSQLType
public int getSQLType(int oid) throws SQLException(Code)



getSQLType
public int getSQLType(String pgTypeName)(Code)



getServerMajorVersion
public int getServerMajorVersion()(Code)



getServerMinorVersion
public int getServerMinorVersion()(Code)



getStandardConformingStrings
public boolean getStandardConformingStrings()(Code)



getStringVarcharFlag
public boolean getStringVarcharFlag()(Code)



getTimestampUtils
public TimestampUtils getTimestampUtils()(Code)



getTransactionIsolation
public int getTransactionIsolation() throws SQLException(Code)



getTypeMap
public java.util.Map getTypeMap() throws SQLException(Code)



getURL
public String getURL() throws SQLException(Code)



getUserName
public String getUserName() throws SQLException(Code)



getWarnings
public synchronized SQLWarning getWarnings() throws SQLException(Code)



haveMinimumCompatibleVersion
public boolean haveMinimumCompatibleVersion(String ver)(Code)



haveMinimumServerVersion
public boolean haveMinimumServerVersion(String ver)(Code)
Is the server we are connected to running at least this version? This comparison method will fail whenever a major or minor version goes to two digits (10.3.0) or (7.10.1).



isClosed
public boolean isClosed() throws SQLException(Code)



isReadOnly
public boolean isReadOnly() throws SQLException(Code)



nativeSQL
public String nativeSQL(String sql) throws SQLException(Code)



prepareCall
public java.sql.CallableStatement prepareCall(String sql) throws SQLException(Code)



prepareCall
abstract public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code)



prepareStatement
public java.sql.PreparedStatement prepareStatement(String sql) throws SQLException(Code)



prepareStatement
abstract public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code)



rollback
public void rollback() throws SQLException(Code)



setAutoCommit
public void setAutoCommit(boolean autoCommit) throws SQLException(Code)



setCatalog
public void setCatalog(String catalog) throws SQLException(Code)



setCursorName
public void setCursorName(String cursor) throws SQLException(Code)



setPrepareThreshold
public void setPrepareThreshold(int newThreshold)(Code)



setReadOnly
public void setReadOnly(boolean readOnly) throws SQLException(Code)



setTransactionIsolation
public void setTransactionIsolation(int level) throws SQLException(Code)



setTypeMapImpl
public void setTypeMapImpl(java.util.Map map) throws SQLException(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.