class org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper implements org.hibernate.tool.hbm2ddl.ConnectionHelper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper
super_class: java.lang.Object
{
private java.sql.Connection connection;
descriptor: Ljava/sql/Connection;
flags: (0x0002) ACC_PRIVATE
private boolean toggleAutoCommit;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final org.hibernate.engine.jdbc.spi.SqlExceptionHelper sqlExceptionHelper;
descriptor: Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.sql.Connection, org.hibernate.engine.jdbc.spi.SqlExceptionHelper);
descriptor: (Ljava/sql/Connection;Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
2: aload 0
aload 2
putfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.sqlExceptionHelper:Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/tool/hbm2ddl/SuppliedConnectionHelper;
0 4 1 connection Ljava/sql/Connection;
0 4 2 sqlExceptionHelper Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
MethodParameters:
Name Flags
connection
sqlExceptionHelper
public void prepare(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
invokeinterface java.sql.Connection.getAutoCommit:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper
1: iconst_0
StackMap locals: org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper int
StackMap stack: org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper int
2: putfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.toggleAutoCommit:Z
3: aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.toggleAutoCommit:Z
ifeq 8
4: aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
invokeinterface java.sql.Connection.commit:()V
5: goto 7
6: StackMap locals:
StackMap stack: java.lang.Throwable
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
iconst_1
invokeinterface java.sql.Connection.setAutoCommit:(Z)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/tool/hbm2ddl/SuppliedConnectionHelper;
0 9 1 needsAutoCommit Z
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
needsAutoCommit
public java.sql.Connection getConnection();
descriptor: ()Ljava/sql/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tool/hbm2ddl/SuppliedConnectionHelper;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.sqlExceptionHelper:Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logAndClearWarnings:(Ljava/sql/Connection;)V
1: aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.toggleAutoCommit:Z
ifeq 3
2: aload 0
getfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
iconst_0
invokeinterface java.sql.Connection.setAutoCommit:(Z)V
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SuppliedConnectionHelper.connection:Ljava/sql/Connection;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/tool/hbm2ddl/SuppliedConnectionHelper;
Exceptions:
throws java.sql.SQLException
}
SourceFile: "SuppliedConnectionHelper.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()