Giriş
Şu satırı dahil ederiz
import javax.sql.XAConnection;
PooledConnection arayüzünden kalıtır. Açıklaması şöyle.
XAConnection extends PooledConnection because it serves a similar purpose: they are both a handle to the physical connection that is held in a connection pool (PooledConnection) or in the transaction manager (XAConnection). Transaction managers usually have a connection pool themselves (which may be exposed as a javax.sql.DataSource to the application code).
Bu arayüzü gerçekleştiren bazı sınıflar şöyle
com.microsoft.sqlserver.jdbc.SQLServerXAConnection; com.mysql.cj.jdbc.SuspendableXAConnection org.h2.jdbcx.JdbcXAConnection; org.postgresql.xa.PGXAConnection;
Hiç yorum yok:
Yorum Gönder