public class org.hibernate.internal.ContextualJdbcConnectionAccess implements org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.internal.ContextualJdbcConnectionAccess
super_class: java.lang.Object
{
private final java.lang.String tenantIdentifier;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.SessionEventListener listener;
descriptor: Lorg/hibernate/SessionEventListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider connectionProvider;
descriptor: Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, org.hibernate.SessionEventListener, org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider);
descriptor: (Ljava/lang/String;Lorg/hibernate/SessionEventListener;Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.internal.ContextualJdbcConnectionAccess.tenantIdentifier:Ljava/lang/String;
2: aload 0
aload 2
putfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
3: aload 0
aload 3
putfield org.hibernate.internal.ContextualJdbcConnectionAccess.connectionProvider:Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/internal/ContextualJdbcConnectionAccess;
0 5 1 tenantIdentifier Ljava/lang/String;
0 5 2 listener Lorg/hibernate/SessionEventListener;
0 5 3 connectionProvider Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
MethodParameters:
Name Flags
tenantIdentifier
listener
connectionProvider
public java.sql.Connection obtainConnection();
descriptor: ()Ljava/sql/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.tenantIdentifier:Ljava/lang/String;
ifnonnull 2
1: new org.hibernate.HibernateException
dup
ldc "Tenant identifier required!"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
invokeinterface org.hibernate.SessionEventListener.jdbcConnectionAcquisitionStart:()V
3: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.connectionProvider:Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.tenantIdentifier:Ljava/lang/String;
invokeinterface org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider.getConnection:(Ljava/lang/String;)Ljava/sql/Connection;
astore 2
4: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
invokeinterface org.hibernate.SessionEventListener.jdbcConnectionAcquisitionEnd:()V
5: aload 2
areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
invokeinterface org.hibernate.SessionEventListener.jdbcConnectionAcquisitionEnd:()V
8: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/internal/ContextualJdbcConnectionAccess;
Exception table:
from to target type
2 4 6 any
Exceptions:
throws java.sql.SQLException
public void releaseConnection(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.tenantIdentifier:Ljava/lang/String;
ifnonnull 2
1: new org.hibernate.HibernateException
dup
ldc "Tenant identifier required!"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
invokeinterface org.hibernate.SessionEventListener.jdbcConnectionReleaseStart:()V
3: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.connectionProvider:Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.tenantIdentifier:Ljava/lang/String;
aload 1
invokeinterface org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider.releaseConnection:(Ljava/lang/String;Ljava/sql/Connection;)V
4: goto 8
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
6: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
invokeinterface org.hibernate.SessionEventListener.jdbcConnectionReleaseEnd:()V
7: aload 2
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.listener:Lorg/hibernate/SessionEventListener;
invokeinterface org.hibernate.SessionEventListener.jdbcConnectionReleaseEnd:()V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/internal/ContextualJdbcConnectionAccess;
0 10 1 connection Ljava/sql/Connection;
Exception table:
from to target type
2 5 5 any
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
connection
public boolean supportsAggressiveRelease();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.internal.ContextualJdbcConnectionAccess.connectionProvider:Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
invokeinterface org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider.supportsAggressiveRelease:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/internal/ContextualJdbcConnectionAccess;
}
SourceFile: "ContextualJdbcConnectionAccess.java"