|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.postgresql.ds.common.BaseDataSource
org.postgresql.xa.PGXADataSource
public class PGXADataSource
XA-enabled DataSource implementation.
| Constructor Summary | |
|---|---|
PGXADataSource()
|
|
| Method Summary | |
|---|---|
protected Reference |
createReference()
Generates a reference using the appropriate object factory. |
String |
getDescription()
Gets a description of this DataSource-ish thing. |
XAConnection |
getXAConnection()
Gets a connection to the PostgreSQL database. |
XAConnection |
getXAConnection(String user,
String password)
Gets a XA-enabled connection to the PostgreSQL database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.CommonDataSource |
|---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Constructor Detail |
|---|
public PGXADataSource()
| Method Detail |
|---|
public XAConnection getXAConnection()
throws SQLException
getXAConnection in interface XADataSourceSQLException - Occurs when the database connection cannot be established.
public XAConnection getXAConnection(String user,
String password)
throws SQLException
getXAConnection in interface XADataSourceSQLException - Occurs when the database connection cannot be established.public String getDescription()
BaseDataSource
getDescription in class BaseDataSourceprotected Reference createReference()
createReference in class BaseDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||