| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Reference | createReference()
Overrides org. Generates a reference using the appropriate object factory. |
| public String | getDescription()
Implements abstract org. Gets a description of this DataSource-ish thing. |
| public XAConnection | Returns: A valid database connection.Implements javax. Gets a connection to the PostgreSQL database. |
| public XAConnection | Returns: A valid database connection.the database user on whose behalf the connection is being made user, @Nullable String the user's password password)Implements javax. Gets a XA-enabled connection to the PostgreSQL database. |
| PGXADataSource | back to summary |
|---|---|
| public PGXADataSource() | |
| createReference | back to summary |
|---|---|
| protected Reference createReference() Overrides org. Generates a reference using the appropriate object factory.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Gets a description of this DataSource-ish thing. Must be customized by subclasses. | |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection() throws SQLException Implements javax. Gets a connection to the PostgreSQL database. The database is identified by the DataSource properties serverName, databaseName, and portNumber. The user to connect as is identified by the DataSource properties user and password.
| |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection(@Nullable String user, @Nullable String password) throws SQLException Implements javax. Gets a XA-enabled connection to the PostgreSQL database. The database is identified by the DataSource properties serverName, databaseName, and portNumber. The user to connect as is identified by the arguments user and password, which override the DataSource properties by the same name.
| |