xa/PGXADataSource.java

pgjdbc · pgjdbc/src/main/java/org/postgresql/xa/PGXADataSource.java · java · BSD-2-Clause
database

Copyright (c) 2009, PostgreSQL Global Development Group See the LICENSE file in the project root for more information. /

// Source: https://github.com/pgjdbc/pgjdbc | License: BSD-2-Clause | Copyright 1997, PostgreSQL Global Development Group
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2009, PostgreSQL Global Development Group
 * See the LICENSE file in the project root for more information.
 */

package org.postgresql.xa;

import org.postgresql.core.BaseConnection;
import org.postgresql.ds.common.BaseDataSource;
import org.postgresql.util.DriverInfo;

import org.checkerframework.checker.nullness.qual.Nullable;

import java.sql.Connection;
import java.sql.SQLException;

import javax.naming.Reference;
import javax.sql.XAConnection;
import javax.sql.XADataSource;

/**
 * XA-enabled DataSource implementation.
 *
 * @author Heikki Linnakangas (heikki.linnakangas@iki.fi)
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key