
org.postgresql.xa.PGXAConnection.class Maven / Gradle / Ivy
The newest version!
???? 4?
?
? ? ?
? ? ? ?
?
? ?
? ?
l ?
?
? ?
l ? ? ?
?
?
? ? ? ?
? ? ?
? ?
?
?
?
? ? ? ?
? ? ?
" ? ? ? ? ?
?
? ? ? ? ? ? ?
" ?
?
? ?
H ?
H
H
H ?
!
/"
# ?$%&'
(
)*+ ?,- ?. /01234
5
?678 ConnectionHandler InnerClasses LOGGER Ljava/util/logging/Logger; conn $Lorg/postgresql/core/BaseConnection;
currentXid Ljavax/transaction/xa/Xid; state I
STATE_IDLE
ConstantValue STATE_ACTIVE STATE_ENDED localAutoCommitMode Z 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 ? end prepare (Ljavax/transaction/xa/Xid;)I stmt Ljava/sql/Statement; ?9:; recover (I)[Ljavax/transaction/xa/Xid; recoveredXid rs Ljava/sql/ResultSet; l Ljava/util/LinkedList; flag LocalVariableTypeTable 2Ljava/util/LinkedList;< rollback (Ljavax/transaction/xa/Xid;)V commit (Ljavax/transaction/xa/Xid;Z)V onePhase ? commitOnePhase commitPrepared isSameRM $(Ljavax/transaction/xa/XAResource;)Z xares !Ljavax/transaction/xa/XAResource; forget getTransactionTimeout ()I setTransactionTimeout (I)Z seconds
access$000 %(Lorg/postgresql/xa/PGXAConnection;)I x0 ()V
SourceFile PGXAConnection.java v w p q=>?@AB XAResource {0}: {1} java/lang/ObjectC ?DEFGH ?I ? r s org/postgresql/xa/PGXAConnection ? ?JK 2org/postgresql/xa/PGXAConnection$ConnectionHandler ?LMNOP java/lang/Class java/sql/Connection org/postgresql/PGConnectionQRS java/lang/StringBuilder ? ? starting transaction xid = TUTVWX ? ? javax/transaction/xa/XAResource org/postgresql/xa/PGXAException
Invalid flagsYZ[ javax/transaction/xa/XAException ?\ xid must not be null +Connection is busy with another transaction suspend/resume not implemented (Transaction interleaving not implemented t u]^_`a java/sql/SQLException Error disabling autocommit ?b ending transaction xid = 2tried to call end without corresponding start call preparing transaction xid = ^Not implemented: Prepare must be issued using the same connection that started the transaction Prepare called before endcdefg PREPARE TRANSACTION ' ':hij ? Error preparing transaction Invalid flag javax/transaction/xa/Xid ESELECT gid FROM pg_prepared_xacts where database = current_database()kl java/util/LinkedList<manFopq^r ?st [Ljavax/transaction/xa/Xid; Error during recover rolling back xid = ? ? ROLLBACK PREPARED 'uvwxXyX9 'Error rolling back prepared transaction committing xid =
(one phase) (two phase) ? ? ? ? dNot implemented: one-phase commit must be issued using the same connection that was used to start it commit called before end ? ? Error during one-phase commitz{|}~ INot implemented: 2nd phase commit must be issued using an idle connection COMMIT PREPARED ' %Error committing prepared transaction 'Heuristic commit/rollback not supportedX?? $org/postgresql/ds/PGPooledConnection javax/sql/XAConnection 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
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; org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;I)V 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; org/postgresql/util/PSQLState UNDEFINED_OBJECT Lorg/postgresql/util/PSQLState; getState getSQLState getTransactionState (()Lorg/postgresql/core/TransactionState; $org/postgresql/core/TransactionState IDLE &Lorg/postgresql/core/TransactionState; getName getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; !
l m p q r s t u v w x w y z { w y | } w y ~ ? ? ? ? o *? ? ? ? ? ? ? Y*? ? SY+S? ? ? U V ) X ? * ? ? * ? ? ? ) ? ? ? [ *+?
*? *+? *? ? ? [ R \ ] ^ ? ? ? r s ? / ? ? ? ? :*? L*? ?
+? ? Y*+? M*? ? ? YSYS,? ? ? ? d j k r s ? : ? ? 5 r ? ? ? ? ? ? ? / ? ? ? , *? ? x ? ? ? ? ? ? ? )? ? ? ? *? Y? ? +? ? ? ? " ? !? ? "Y#? ? $?? &?+? ? "Y'? ? $?? &?*? ? ? "Y(? ? $?? &? ? ? "Y)? ? $?? &?!? <*? ? ? "Y*? ? $?? &?+*? +? ,? 1? "Y*? ? $?? &?*? ? ? "Y*? ? $?? &?? 2**? ? - ? *? ? . ? N? "Y0? ? $-?? 1?*? *+? +? ? / ? j ? ? # ? 3 ? F ? J ? ] ? e ? x ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ?# ?( ? ? *
? ? ) ? ? ) ? u ) ? w ?
#" ] ? ? % ? ? ? ?? ? ? ? *? Y? 2? +? ? ? 3? "4? 5? ? "Y#? ? $?? &?+? ? "Y'? ? $?? &?*? ? *? ++? ,? ? "Y6? ? $?? &?3? ? "Y)? ? $?? &?*? ? ? 2 ? ? # 5 H L _ r ? ? ? ? ? ? ? ? ? ? u ? ? w ? #$ ? % ? ? ? ? ̲ ? ? ? *? Y? 7? +? ? ? *? ++? ,? ? "Y8? ? $?? &?*? ? ? "Y9? ? $?? &?*? *? ++? :M*? ? ; N-? Y?