class org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper implements org.hibernate.tool.hbm2ddl.ConnectionHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper
  super_class: java.lang.Object
{
  private java.util.Properties cfgProperties;
    descriptor: Ljava/util/Properties;
    flags: (0x0002) ACC_PRIVATE

  private org.hibernate.boot.registry.internal.StandardServiceRegistryImpl serviceRegistry;
    descriptor: Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
    flags: (0x0002) ACC_PRIVATE

  private java.sql.Connection connection;
    descriptor: Ljava/sql/Connection;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.util.Properties);
    descriptor: (Ljava/util/Properties;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
        start local 1 // java.util.Properties cfgProperties
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            aload 0 /* this */
            aload 1 /* cfgProperties */
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.cfgProperties:Ljava/util/Properties;
         2: .line 51
            return
        end local 1 // java.util.Properties cfgProperties
        end local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    3     0           this  Lorg/hibernate/tool/hbm2ddl/ManagedProviderConnectionHelper;
            0    3     1  cfgProperties  Ljava/util/Properties;
    MethodParameters:
               Name  Flags
      cfgProperties  

  public void prepare(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
        start local 1 // boolean needsAutoCommit
         0: .line 54
            aload 0 /* this */
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.cfgProperties:Ljava/util/Properties;
            invokestatic org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.createServiceRegistry:(Ljava/util/Properties;)Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
         1: .line 55
            aload 0 /* this */
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
            ldc Lorg/hibernate/engine/jdbc/connections/spi/ConnectionProvider;
            invokevirtual org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.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;
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
         2: .line 56
            iload 1 /* needsAutoCommit */
            ifeq 5
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            invokeinterface java.sql.Connection.getAutoCommit:()Z
            ifne 5
         3: .line 57
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            invokeinterface java.sql.Connection.commit:()V
         4: .line 58
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            iconst_1
            invokeinterface java.sql.Connection.setAutoCommit:(Z)V
         5: .line 60
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean needsAutoCommit
        end local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    6     0             this  Lorg/hibernate/tool/hbm2ddl/ManagedProviderConnectionHelper;
            0    6     1  needsAutoCommit  Z
    Exceptions:
      throws java.sql.SQLException
    MethodParameters:
                 Name  Flags
      needsAutoCommit  

  private static org.hibernate.boot.registry.internal.StandardServiceRegistryImpl createServiceRegistry(java.util.Properties);
    descriptor: (Ljava/util/Properties;)Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.Properties properties
         0: .line 63
            aload 0 /* properties */
            invokestatic org.hibernate.cfg.Environment.verifyProperties:(Ljava/util/Map;)V
         1: .line 64
            aload 0 /* properties */
            invokestatic org.hibernate.internal.util.config.ConfigurationHelper.resolvePlaceHolders:(Ljava/util/Map;)V
         2: .line 65
            new org.hibernate.boot.registry.StandardServiceRegistryBuilder
            dup
            invokespecial org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>:()V
            aload 0 /* properties */
            invokevirtual org.hibernate.boot.registry.StandardServiceRegistryBuilder.applySettings:(Ljava/util/Map;)Lorg/hibernate/boot/registry/StandardServiceRegistryBuilder;
            invokevirtual org.hibernate.boot.registry.StandardServiceRegistryBuilder.build:()Lorg/hibernate/boot/registry/StandardServiceRegistry;
            checkcast org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
            areturn
        end local 0 // java.util.Properties properties
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0  properties  Ljava/util/Properties;
    MethodParameters:
            Name  Flags
      properties  

  public java.sql.Connection getConnection();
    descriptor: ()Ljava/sql/Connection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
         0: .line 69
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            areturn
        end local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/tool/hbm2ddl/ManagedProviderConnectionHelper;
    Exceptions:
      throws java.sql.SQLException

  public void release();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
         0: .line 74
            aload 0 /* this */
            invokevirtual org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.releaseConnection:()V
         1: .line 75
            goto 5
         2: .line 76
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1
         3: .line 77
            aload 0 /* this */
            invokevirtual org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.releaseServiceRegistry:()V
         4: .line 78
            aload 1
            athrow
         5: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.releaseServiceRegistry:()V
         6: .line 79
            return
        end local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/hibernate/tool/hbm2ddl/ManagedProviderConnectionHelper;
      Exception table:
        from    to  target  type
           0     2       2  any
    Exceptions:
      throws java.sql.SQLException

  private void releaseConnection();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
         0: .line 82
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            ifnull 17
         1: .line 84
            new org.hibernate.engine.jdbc.spi.SqlExceptionHelper
            dup
            invokespecial org.hibernate.engine.jdbc.spi.SqlExceptionHelper.<init>:()V
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logAndClearWarnings:(Ljava/sql/Connection;)V
         2: .line 85
            goto 11
         3: .line 86
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1
         4: .line 88
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
            ldc Lorg/hibernate/engine/jdbc/connections/spi/ConnectionProvider;
            invokevirtual org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
            checkcast org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            invokeinterface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider.closeConnection:(Ljava/sql/Connection;)V
         5: .line 89
            goto 9
         6: .line 90
      StackMap locals: org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper java.lang.Throwable
      StackMap stack: java.lang.Throwable
            astore 2
         7: .line 91
            aload 0 /* this */
            aconst_null
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
         8: .line 92
            aload 2
            athrow
         9: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
        10: .line 93
            aload 1
            athrow
        11: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
            ldc Lorg/hibernate/engine/jdbc/connections/spi/ConnectionProvider;
            invokevirtual org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
            checkcast org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
            invokeinterface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider.closeConnection:(Ljava/sql/Connection;)V
        12: .line 89
            goto 16
        13: .line 90
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2
        14: .line 91
            aload 0 /* this */
            aconst_null
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
        15: .line 92
            aload 2
            athrow
        16: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.connection:Ljava/sql/Connection;
        17: .line 95
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0  this  Lorg/hibernate/tool/hbm2ddl/ManagedProviderConnectionHelper;
      Exception table:
        from    to  target  type
           1     3       3  any
           4     6       6  any
          11    13      13  any
    Exceptions:
      throws java.sql.SQLException

  private void releaseServiceRegistry();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
         0: .line 98
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
            ifnull 7
         1: .line 100
            aload 0 /* this */
            getfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
            invokevirtual org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.destroy:()V
         2: .line 101
            goto 6
         3: .line 102
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1
         4: .line 103
            aload 0 /* this */
            aconst_null
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
         5: .line 104
            aload 1
            athrow
         6: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.serviceRegistry:Lorg/hibernate/boot/registry/internal/StandardServiceRegistryImpl;
         7: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/hibernate/tool/hbm2ddl/ManagedProviderConnectionHelper;
      Exception table:
        from    to  target  type
           1     3       3  any
}
SourceFile: "ManagedProviderConnectionHelper.java"