class org.hibernate.tool.hbm2ddl.DatabaseExporter implements org.hibernate.tool.hbm2ddl.Exporter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.tool.hbm2ddl.DatabaseExporter
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.tool.hbm2ddl.ConnectionHelper connectionHelper;
descriptor: Lorg/hibernate/tool/hbm2ddl/ConnectionHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.engine.jdbc.spi.SqlExceptionHelper sqlExceptionHelper;
descriptor: Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.sql.Connection connection;
descriptor: Ljava/sql/Connection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.sql.Statement statement;
descriptor: Ljava/sql/Statement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/CoreMessageLogger;
ldc Lorg/hibernate/tool/hbm2ddl/DatabaseExporter;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.tool.hbm2ddl.DatabaseExporter.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.tool.hbm2ddl.ConnectionHelper, org.hibernate.engine.jdbc.spi.SqlExceptionHelper);
descriptor: (Lorg/hibernate/tool/hbm2ddl/ConnectionHelper;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.DatabaseExporter.connectionHelper:Lorg/hibernate/tool/hbm2ddl/ConnectionHelper;
2: aload 0
aload 2
putfield org.hibernate.tool.hbm2ddl.DatabaseExporter.sqlExceptionHelper:Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
3: aload 1
iconst_1
invokeinterface org.hibernate.tool.hbm2ddl.ConnectionHelper.prepare:(Z)V
4: aload 0
aload 1
invokeinterface org.hibernate.tool.hbm2ddl.ConnectionHelper.getConnection:()Ljava/sql/Connection;
putfield org.hibernate.tool.hbm2ddl.DatabaseExporter.connection:Ljava/sql/Connection;
5: aload 0
aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.connection:Ljava/sql/Connection;
invokeinterface java.sql.Connection.createStatement:()Ljava/sql/Statement;
putfield org.hibernate.tool.hbm2ddl.DatabaseExporter.statement:Ljava/sql/Statement;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/tool/hbm2ddl/DatabaseExporter;
0 7 1 connectionHelper Lorg/hibernate/tool/hbm2ddl/ConnectionHelper;
0 7 2 sqlExceptionHelper Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
connectionHelper
sqlExceptionHelper
public boolean acceptsImportScripts();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tool/hbm2ddl/DatabaseExporter;
public void export(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.statement:Ljava/sql/Statement;
aload 1
invokeinterface java.sql.Statement.executeUpdate:(Ljava/lang/String;)I
pop
1: aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.statement:Ljava/sql/Statement;
invokeinterface java.sql.Statement.getWarnings:()Ljava/sql/SQLWarning;
astore 2
start local 2 2: aload 2
ifnull 7
3: aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.sqlExceptionHelper:Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.connection:Ljava/sql/Connection;
invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logAndClearWarnings:(Ljava/sql/Connection;)V
end local 2 4: goto 7
5: StackMap locals:
StackMap stack: java.sql.SQLException
astore 2
start local 2 6: getstatic org.hibernate.tool.hbm2ddl.DatabaseExporter.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 2
invokeinterface org.hibernate.internal.CoreMessageLogger.unableToLogSqlWarnings:(Ljava/sql/SQLException;)V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/tool/hbm2ddl/DatabaseExporter;
0 8 1 string Ljava/lang/String;
2 4 2 warnings Ljava/sql/SQLWarning;
6 7 2 e Ljava/sql/SQLException;
Exception table:
from to target type
1 4 5 Class java.sql.SQLException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
string
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.statement:Ljava/sql/Statement;
invokeinterface java.sql.Statement.close:()V
1: goto 5
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
3: aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.connectionHelper:Lorg/hibernate/tool/hbm2ddl/ConnectionHelper;
invokeinterface org.hibernate.tool.hbm2ddl.ConnectionHelper.release:()V
4: aload 1
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tool.hbm2ddl.DatabaseExporter.connectionHelper:Lorg/hibernate/tool/hbm2ddl/ConnectionHelper;
invokeinterface org.hibernate.tool.hbm2ddl.ConnectionHelper.release:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/tool/hbm2ddl/DatabaseExporter;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws java.lang.Exception
}
SourceFile: "DatabaseExporter.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()