class org.hibernate.internal.SessionFactoryImpl$2 implements org.hibernate.engine.jdbc.spi.JdbcConnectionAccess
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.internal.SessionFactoryImpl$2
super_class: java.lang.Object
{
final org.hibernate.internal.SessionFactoryImpl this$0;
descriptor: Lorg/hibernate/internal/SessionFactoryImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.hibernate.internal.SessionFactoryImpl);
descriptor: (Lorg/hibernate/internal/SessionFactoryImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
0: .line 604
aload 0 /* this */
aload 1
putfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/internal/SessionFactoryImpl$2;
MethodParameters:
Name Flags
this$0 final
public java.sql.Connection obtainConnection();
descriptor: ()Ljava/sql/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
0: .line 607
aload 0 /* this */
getfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
getfield org.hibernate.internal.SessionFactoryImpl.settings:Lorg/hibernate/cfg/Settings;
invokevirtual org.hibernate.cfg.Settings.getMultiTenancyStrategy:()Lorg/hibernate/MultiTenancyStrategy;
getstatic org.hibernate.MultiTenancyStrategy.NONE:Lorg/hibernate/MultiTenancyStrategy;
if_acmpne 2
1: .line 608
aload 0 /* this */
getfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
getfield org.hibernate.internal.SessionFactoryImpl.serviceRegistry:Lorg/hibernate/service/spi/SessionFactoryServiceRegistry;
ldc Lorg/hibernate/engine/jdbc/connections/spi/ConnectionProvider;
invokeinterface org.hibernate.service.spi.SessionFactoryServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
invokeinterface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider.getConnection:()Ljava/sql/Connection;
goto 3
2: .line 609
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
getfield org.hibernate.internal.SessionFactoryImpl.serviceRegistry:Lorg/hibernate/service/spi/SessionFactoryServiceRegistry;
ldc Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
invokeinterface org.hibernate.service.spi.SessionFactoryServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider
invokeinterface org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider.getAnyConnection:()Ljava/sql/Connection;
3: .line 607
StackMap locals:
StackMap stack: java.sql.Connection
areturn
end local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/internal/SessionFactoryImpl$2;
Exceptions:
throws java.sql.SQLException
public void releaseConnection(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
start local 1 // java.sql.Connection connection
0: .line 614
aload 0 /* this */
getfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
getfield org.hibernate.internal.SessionFactoryImpl.settings:Lorg/hibernate/cfg/Settings;
invokevirtual org.hibernate.cfg.Settings.getMultiTenancyStrategy:()Lorg/hibernate/MultiTenancyStrategy;
getstatic org.hibernate.MultiTenancyStrategy.NONE:Lorg/hibernate/MultiTenancyStrategy;
if_acmpne 3
1: .line 615
aload 0 /* this */
getfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
getfield org.hibernate.internal.SessionFactoryImpl.serviceRegistry:Lorg/hibernate/service/spi/SessionFactoryServiceRegistry;
ldc Lorg/hibernate/engine/jdbc/connections/spi/ConnectionProvider;
invokeinterface org.hibernate.service.spi.SessionFactoryServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
aload 1 /* connection */
invokeinterface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider.closeConnection:(Ljava/sql/Connection;)V
2: .line 616
goto 4
3: .line 618
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.hibernate.internal.SessionFactoryImpl$2.this$0:Lorg/hibernate/internal/SessionFactoryImpl;
getfield org.hibernate.internal.SessionFactoryImpl.serviceRegistry:Lorg/hibernate/service/spi/SessionFactoryServiceRegistry;
ldc Lorg/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider;
invokeinterface org.hibernate.service.spi.SessionFactoryServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider
aload 1 /* connection */
invokeinterface org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider.releaseAnyConnection:(Ljava/sql/Connection;)V
4: .line 620
StackMap locals:
StackMap stack:
return
end local 1 // java.sql.Connection connection
end local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/internal/SessionFactoryImpl$2;
0 5 1 connection Ljava/sql/Connection;
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 // org.hibernate.internal.SessionFactoryImpl$2 this
0: .line 624
iconst_0
ireturn
end local 0 // org.hibernate.internal.SessionFactoryImpl$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/internal/SessionFactoryImpl$2;
}
SourceFile: "SessionFactoryImpl.java"
EnclosingMethod: org.hibernate.internal.SessionFactoryImpl.buildLocalConnectionAccess:()Lorg/hibernate/engine/jdbc/spi/JdbcConnectionAccess;
NestHost: org.hibernate.internal.SessionFactoryImpl
InnerClasses:
org.hibernate.internal.SessionFactoryImpl$2