org.postgresql.xa.PGXAConnection.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2? ? ? ? ? ? ?
? ? ? ?
?
? ?
? ?
? ? ? ? ? ? ? ?
? ? ? ?
?
?
?
?
?
" ? ? ?
?
" ?! ?"# $%&'()*+,-
./01234356
?7 ? ? 893:;
S<=<>
.?
S@<5
SA
SBCDEFGHIJK
?L
?MNOPQRST UVWX YZ
Y[
2\
]^_`a
Ybcdef
?gh
]ij
]kl
m
?nopq State InnerClasses ConnectionHandler LOGGER Ljava/util/logging/Logger; conn $Lorg/postgresql/core/BaseConnection;
currentXid Ljavax/transaction/xa/Xid; state (Lorg/postgresql/xa/PGXAConnection$State; preparedXid committedOrRolledBack Z localAutoCommitMode debug (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this "Lorg/postgresql/xa/PGXAConnection; s Ljava/lang/String;
StackMapTable '(Lorg/postgresql/core/BaseConnection;)V
Exceptions
getConnection ()Ljava/sql/Connection; Ljava/sql/Connection; handler 4Lorg/postgresql/xa/PGXAConnection$ConnectionHandler;
getXAResource #()Ljavax/transaction/xa/XAResource; start (Ljavax/transaction/xa/Xid;I)V ex Ljava/sql/SQLException; xid flags I end prepare (Ljavax/transaction/xa/Xid;)I stmt Ljava/sql/Statement;l8rst recover (I)[Ljavax/transaction/xa/Xid; recoveredXid rs Ljava/sql/ResultSet; l Ljava/util/LinkedList; flag LocalVariableTypeTable 2Ljava/util/LinkedList;u; rollback (Ljavax/transaction/xa/Xid;)V commit (Ljavax/transaction/xa/Xid;Z)V onePhase commitOnePhase commitPrepared errorCode isSameRM $(Ljavax/transaction/xa/XAResource;)Z xares !Ljavax/transaction/xa/XAResource; forget getTransactionTimeout ()I setTransactionTimeout (I)Z seconds mapSQLStateToXAErrorCode (Ljava/sql/SQLException;)I sqlException (isPostgreSQLIntegrityConstraintViolation (Ljava/sql/SQLException;)Z
access$000 L(Lorg/postgresql/xa/PGXAConnection;)Lorg/postgresql/xa/PGXAConnection$State; x0 ()V
SourceFile PGXAConnection.java ? ? ? ?vwxyz{ XAResource {0}: {1} java/lang/Object| ?}~?? ?? ? ? ? ?? ? ? ??? 2org/postgresql/xa/PGXAConnection$ConnectionHandler ?????? java/lang/Class java/sql/Connection org/postgresql/PGConnection??? java/lang/StringBuilder ? ? starting transaction xid = ?????? ? ? javax/transaction/xa/XAResource org/postgresql/xa/PGXAException Invalid flags {0}????? javax/transaction/xa/XAException ?? xid must not be null? ? +Connection is busy with another transaction suspend/resume not implemented? ? ?Invalid protocol state requested. Attempted transaction interleaving is not supported. xid={0}, currentXid={1}, state={2}, flags={3} ? ?????? java/sql/SQLException Error disabling autocommit ?? ? ? ? ? ending transaction xid = mtried to call end without corresponding start call. state={0}, start xid={1}, currentXid={2}, preparedXid={3} preparing transaction xid = Prepare xid i but current connection is not attached to a transaction while it was prepared in past with prepared xid MPreparing already prepared transaction, the prepared xid {0}, prepare xid={1} CCurrent connection does not have an associated xid. prepare xid={0} Error to prepare xid 0, the current connection already bound with xid Not implemented: Prepare must be issued using the same connection that started the transaction. currentXid={0}, prepare xid={1} 5Prepare called before end. prepare xid={0}, state={1}????? PREPARE TRANSACTION ' 's??? ? ,Error preparing transaction. prepare xid={0} ? ? javax/transaction/xa/Xid ESELECT gid FROM pg_prepared_xacts where database = current_database()?? java/util/LinkedListu???????? ??? [Ljavax/transaction/xa/Xid; Error during recover rolling back xid = ? ? ROLLBACK PREPARED ' ZError rolling back prepared transaction. rollback xid={0}, preparedXid={1}, currentXid={2} committing xid =
(one phase) (two phase) ? ? ? ? LOne-phase commit called for xid {0} but connection was prepared with xid {1} dNot implemented: one-phase commit must be issued using the same connection that was used to start it AOne-phase commit with unknown xid. commit xid={0}, currentXid={1} 3commit called before end. commit xid={0}, state={1} ? ? -Error during one-phase commit. commit xid={0}????? ?Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3} COMMIT PREPARED '???????r committing xid & while the connection prepared xid is 6, but the connection was already committed/rolled-back ?? *commit connection failure (sql error code !), reconnection could be expected VError committing prepared transaction. commit xid={0}, preparedXid={1}, currentXid={2} 7Heuristic commit/rollback not supported. forget xid={0} ? ? !org/postgresql/util/PSQLException? ? 23?? org/postgresql/xa/PGXAConnection???? $org/postgresql/ds/PGPooledConnection javax/sql/XAConnection &org/postgresql/xa/PGXAConnection$State java/lang/String java/sql/Statement java/lang/Throwable java/sql/ResultSet java/util/logging/Level FINEST Ljava/util/logging/Level; java/util/logging/Logger
isLoggable (Ljava/util/logging/Level;)Z hashCode java/lang/Integer toHexString (I)Ljava/lang/String; log A(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V (Ljava/sql/Connection;ZZ)V IDLE
setAutoCommit (Z)V :(Lorg/postgresql/xa/PGXAConnection;Ljava/sql/Connection;)V getClass ()Ljava/lang/Class; getClassLoader ()Ljava/lang/ClassLoader; java/lang/reflect/Proxy newProxyInstance b(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; valueOf (I)Ljava/lang/Integer; org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;I)V ACTIVE ENDED equals (Ljava/lang/Object;)Z "org/postgresql/core/BaseConnection
getAutoCommit ()Z +(Ljava/lang/String;Ljava/lang/Throwable;I)V org/postgresql/xa/RecoveredXid xidToString .(Ljavax/transaction/xa/Xid;)Ljava/lang/String; createStatement ()Ljava/sql/Statement;
executeUpdate (Ljava/lang/String;)I close executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; next getString stringToXid .(Ljava/lang/String;)Ljavax/transaction/xa/Xid; add size toArray (([Ljava/lang/Object;)[Ljava/lang/Object; getTransactionState (()Lorg/postgresql/core/TransactionState; $org/postgresql/core/TransactionState &Lorg/postgresql/core/TransactionState; org/postgresql/util/PSQLState UNDEFINED_OBJECT Lorg/postgresql/util/PSQLState; getState getSQLState isConnectionError (Ljava/lang/String;)Z length
startsWith getName getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? o *? ? ? ? ? ? ? Y*? ? SY+S? ? ? I J ) L ? * ? ? * ? ? ? ) ? ? ? ] *+?
*? *+? *?
? ? ? O F P Q R ? ? ? ? ? ? 2 ? ? ? ? =*? L*? ?
?
+? ? Y*+? M*? ? ? YSYS,? ? ? ? Y _ ` g h ? = ? ? 8 ? ? ? ? ? ? ? ? 2 ? ? ? , *? ? n ? ? ? ? ? ? n ?? ? ? ? *? Y? ? +? ? ? ? ) ? #!? ? "Y#? Y? $S? %?? '?+? ? "Y(? ? %?? '?*? ? )? ? "Y*? ? %?? '? ? ? "Y+? ? %?? '?!? p*? ? ,? /? "Y-? Y+SY*? .SY*? SY? $S? %?? '?+*? .? /? e? "Y-? Y+SY*? .SY*? SY? $S? %?? '?*? ? ,? /? "Y-? Y+SY*? .SY*? SY? $S? %?? '?? 2**? ? 0 ? *? ? 1 ? N? "Y3? ? %-?? 4?*? )? *+? .*? 5*? 6? G^a 2 ? ? ? ? # ? 3 ? M ? Q ? d ? n ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ?C ?G ?T ?^ ?a ?b ?v ?} ?? ?? ?? ? ? * b ? ? ? ? ? ? ? ? ? ? ? ?
#);65] ? ? &