public class org.hibernate.tool.hbm2ddl.SchemaUpdate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.tool.hbm2ddl.SchemaUpdate
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 java.util.List<java.lang.Exception> exceptions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Exception;>;
boolean haltOnError;
descriptor: Z
flags: (0x0000)
private java.lang.String outputFile;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String delimiter;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean format;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
putstatic org.hibernate.tool.hbm2ddl.SchemaUpdate.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate.exceptions:Ljava/util/List;
2: aload 0
iconst_0
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate.haltOnError:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
public void execute(java.util.EnumSet<org.hibernate.tool.schema.TargetType>, org.hibernate.boot.Metadata);
descriptor: (Ljava/util/EnumSet;Lorg/hibernate/boot/Metadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
checkcast org.hibernate.boot.spi.MetadataImplementor
invokeinterface org.hibernate.boot.spi.MetadataImplementor.getMetadataBuildingOptions:()Lorg/hibernate/boot/spi/MetadataBuildingOptions;
invokeinterface org.hibernate.boot.spi.MetadataBuildingOptions.getServiceRegistry:()Lorg/hibernate/boot/registry/StandardServiceRegistry;
invokevirtual org.hibernate.tool.hbm2ddl.SchemaUpdate.execute:(Ljava/util/EnumSet;Lorg/hibernate/boot/Metadata;Lorg/hibernate/service/ServiceRegistry;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
0 2 1 targetTypes Ljava/util/EnumSet<Lorg/hibernate/tool/schema/TargetType;>;
0 2 2 metadata Lorg/hibernate/boot/Metadata;
Signature: (Ljava/util/EnumSet<Lorg/hibernate/tool/schema/TargetType;>;Lorg/hibernate/boot/Metadata;)V
MethodParameters:
Name Flags
targetTypes
metadata
public void execute(java.util.EnumSet<org.hibernate.tool.schema.TargetType>, org.hibernate.boot.Metadata, org.hibernate.service.ServiceRegistry);
descriptor: (Ljava/util/EnumSet;Lorg/hibernate/boot/Metadata;Lorg/hibernate/service/ServiceRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.util.EnumSet.isEmpty:()Z
ifeq 3
1: getstatic org.hibernate.tool.hbm2ddl.SchemaUpdate.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Skipping SchemaExport as no targets were specified"
invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.exceptions:Ljava/util/List;
invokeinterface java.util.List.clear:()V
4: getstatic org.hibernate.tool.hbm2ddl.SchemaUpdate.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.runningHbm2ddlSchemaUpdate:()V
5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 6: aload 4
aload 3
ldc Lorg/hibernate/engine/config/spi/ConfigurationService;
invokeinterface org.hibernate.service.ServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.engine.config.spi.ConfigurationService
invokeinterface org.hibernate.engine.config.spi.ConfigurationService.getSettings:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
7: aload 4
ldc "hibernate.hbm2ddl.delimiter"
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.delimiter:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 4
ldc "hibernate.format_sql"
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.format:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 3
ldc Lorg/hibernate/tool/schema/spi/SchemaManagementTool;
invokeinterface org.hibernate.service.ServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.tool.schema.spi.SchemaManagementTool
astore 5
start local 5 10: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.haltOnError:Z
ifeq 12
11: getstatic org.hibernate.tool.schema.internal.ExceptionHandlerHaltImpl.INSTANCE:Lorg/hibernate/tool/schema/internal/ExceptionHandlerHaltImpl;
goto 13
12: StackMap locals: java.util.Map org.hibernate.tool.schema.spi.SchemaManagementTool
StackMap stack:
new org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl
dup
invokespecial org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl.<init>:()V
13: StackMap locals:
StackMap stack: org.hibernate.tool.schema.spi.ExceptionHandler
astore 6
start local 6 14: aload 4
15: aload 6
16: invokestatic org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.buildExecutionOptions:(Ljava/util/Map;Lorg/hibernate/tool/schema/spi/ExceptionHandler;)Lorg/hibernate/tool/schema/spi/ExecutionOptions;
astore 7
start local 7 17: aload 1
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.outputFile:Ljava/lang/String;
aload 3
invokestatic org.hibernate.tool.hbm2ddl.SchemaExport.buildTargetDescriptor:(Ljava/util/EnumSet;Ljava/lang/String;Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/tool/schema/spi/TargetDescriptor;
astore 8
start local 8 18: aload 5
aload 4
invokeinterface org.hibernate.tool.schema.spi.SchemaManagementTool.getSchemaMigrator:(Ljava/util/Map;)Lorg/hibernate/tool/schema/spi/SchemaMigrator;
aload 2
aload 7
aload 8
invokeinterface org.hibernate.tool.schema.spi.SchemaMigrator.doMigration:(Lorg/hibernate/boot/Metadata;Lorg/hibernate/tool/schema/spi/ExecutionOptions;Lorg/hibernate/tool/schema/spi/TargetDescriptor;)V
19: goto 24
20: StackMap locals: org.hibernate.tool.hbm2ddl.SchemaUpdate java.util.EnumSet org.hibernate.boot.Metadata org.hibernate.service.ServiceRegistry java.util.Map org.hibernate.tool.schema.spi.SchemaManagementTool org.hibernate.tool.schema.spi.ExceptionHandler org.hibernate.tool.schema.spi.ExecutionOptions org.hibernate.tool.schema.spi.TargetDescriptor
StackMap stack: java.lang.Throwable
astore 9
21: aload 6
instanceof org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl
ifeq 23
22: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.exceptions:Ljava/util/List;
aload 6
checkcast org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl
invokevirtual org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl.getExceptions:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
23: StackMap locals: java.lang.Throwable
StackMap stack:
aload 9
athrow
24: StackMap locals:
StackMap stack:
aload 6
instanceof org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl
ifeq 26
25: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.exceptions:Ljava/util/List;
aload 6
checkcast org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl
invokevirtual org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl.getExceptions:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
26: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
0 27 1 targetTypes Ljava/util/EnumSet<Lorg/hibernate/tool/schema/TargetType;>;
0 27 2 metadata Lorg/hibernate/boot/Metadata;
0 27 3 serviceRegistry Lorg/hibernate/service/ServiceRegistry;
6 27 4 config Ljava/util/Map;
10 27 5 tool Lorg/hibernate/tool/schema/spi/SchemaManagementTool;
14 27 6 exceptionHandler Lorg/hibernate/tool/schema/spi/ExceptionHandler;
17 27 7 executionOptions Lorg/hibernate/tool/schema/spi/ExecutionOptions;
18 27 8 targetDescriptor Lorg/hibernate/tool/schema/spi/TargetDescriptor;
Exception table:
from to target type
18 20 20 any
Signature: (Ljava/util/EnumSet<Lorg/hibernate/tool/schema/TargetType;>;Lorg/hibernate/boot/Metadata;Lorg/hibernate/service/ServiceRegistry;)V
MethodParameters:
Name Flags
targetTypes
metadata
serviceRegistry
public java.util.List getExceptions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate.exceptions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
public org.hibernate.tool.hbm2ddl.SchemaUpdate setHaltOnError(boolean);
descriptor: (Z)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate.haltOnError:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
0 2 1 haltOnError Z
MethodParameters:
Name Flags
haltOnError
public org.hibernate.tool.hbm2ddl.SchemaUpdate setFormat(boolean);
descriptor: (Z)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate.format:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
0 2 1 format Z
MethodParameters:
Name Flags
format
public org.hibernate.tool.hbm2ddl.SchemaUpdate setOutputFile(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate.outputFile:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
0 2 1 outputFile Ljava/lang/String;
MethodParameters:
Name Flags
outputFile
public org.hibernate.tool.hbm2ddl.SchemaUpdate setDelimiter(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate.delimiter:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
0 2 1 delimiter Ljava/lang/String;
MethodParameters:
Name Flags
delimiter
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.parseCommandLineArgs:([Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
astore 1
start local 1 1: aload 1
invokestatic org.hibernate.tool.hbm2ddl.SchemaUpdate.buildStandardServiceRegistry:(Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;)Lorg/hibernate/boot/registry/StandardServiceRegistry;
astore 2
start local 2 2: aload 1
aload 2
invokestatic org.hibernate.tool.hbm2ddl.SchemaUpdate.buildMetadata:(Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/boot/spi/MetadataImplementor;
astore 3
start local 3 3: new org.hibernate.tool.hbm2ddl.SchemaUpdate
dup
invokespecial org.hibernate.tool.hbm2ddl.SchemaUpdate.<init>:()V
4: aload 1
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.outputFile:Ljava/lang/String;
invokevirtual org.hibernate.tool.hbm2ddl.SchemaUpdate.setOutputFile:(Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
5: aload 1
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.delimiter:Ljava/lang/String;
invokevirtual org.hibernate.tool.hbm2ddl.SchemaUpdate.setDelimiter:(Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate;
6: aload 1
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.targetTypes:Ljava/util/EnumSet;
aload 3
aload 2
invokevirtual org.hibernate.tool.hbm2ddl.SchemaUpdate.execute:(Ljava/util/EnumSet;Lorg/hibernate/boot/Metadata;Lorg/hibernate/service/ServiceRegistry;)V
end local 3 7: goto 11
8: StackMap locals: java.lang.String[] org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs org.hibernate.boot.registry.StandardServiceRegistry
StackMap stack: java.lang.Throwable
astore 4
9: aload 2
invokestatic org.hibernate.boot.registry.StandardServiceRegistryBuilder.destroy:(Lorg/hibernate/service/ServiceRegistry;)V
10: aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokestatic org.hibernate.boot.registry.StandardServiceRegistryBuilder.destroy:(Lorg/hibernate/service/ServiceRegistry;)V
end local 2 end local 1 12: goto 15
13: StackMap locals: java.lang.String[]
StackMap stack: java.lang.Exception
astore 1
start local 1 14: getstatic org.hibernate.tool.hbm2ddl.SchemaUpdate.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 1
invokeinterface org.hibernate.internal.CoreMessageLogger.unableToRunSchemaUpdate:(Ljava/lang/Exception;)V
end local 1 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 args [Ljava/lang/String;
1 12 1 parsedArgs Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
2 12 2 serviceRegistry Lorg/hibernate/boot/registry/StandardServiceRegistry;
3 7 3 metadata Lorg/hibernate/boot/spi/MetadataImplementor;
14 15 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 8 8 any
0 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
args
private static org.hibernate.boot.registry.StandardServiceRegistry buildStandardServiceRegistry(org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs);
descriptor: (Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;)Lorg/hibernate/boot/registry/StandardServiceRegistry;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new org.hibernate.boot.registry.BootstrapServiceRegistryBuilder
dup
invokespecial org.hibernate.boot.registry.BootstrapServiceRegistryBuilder.<init>:()V
invokevirtual org.hibernate.boot.registry.BootstrapServiceRegistryBuilder.build:()Lorg/hibernate/boot/registry/BootstrapServiceRegistry;
astore 1
start local 1 1: new org.hibernate.boot.registry.StandardServiceRegistryBuilder
dup
aload 1
invokespecial org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>:(Lorg/hibernate/boot/registry/BootstrapServiceRegistry;)V
astore 2
start local 2 2: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.cfgXmlFile:Ljava/lang/String;
ifnull 4
3: aload 2
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.cfgXmlFile:Ljava/lang/String;
invokevirtual org.hibernate.boot.registry.StandardServiceRegistryBuilder.configure:(Ljava/lang/String;)Lorg/hibernate/boot/registry/StandardServiceRegistryBuilder;
pop
4: StackMap locals: org.hibernate.boot.registry.BootstrapServiceRegistry org.hibernate.boot.registry.StandardServiceRegistryBuilder
StackMap stack:
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.propertiesFile:Ljava/lang/String;
ifnull 8
5: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 6: aload 3
new java.io.FileInputStream
dup
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.propertiesFile:Ljava/lang/String;
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
7: aload 2
aload 3
invokevirtual org.hibernate.boot.registry.StandardServiceRegistryBuilder.applySettings:(Ljava/util/Map;)Lorg/hibernate/boot/registry/StandardServiceRegistryBuilder;
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.hibernate.boot.registry.StandardServiceRegistryBuilder.build:()Lorg/hibernate/boot/registry/StandardServiceRegistry;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 parsedArgs Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
1 9 1 bsr Lorg/hibernate/boot/registry/BootstrapServiceRegistry;
2 9 2 ssrBuilder Lorg/hibernate/boot/registry/StandardServiceRegistryBuilder;
6 8 3 props Ljava/util/Properties;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parsedArgs
private static org.hibernate.boot.spi.MetadataImplementor buildMetadata(org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs, org.hibernate.service.ServiceRegistry);
descriptor: (Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/boot/spi/MetadataImplementor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new org.hibernate.boot.MetadataSources
dup
aload 1
invokespecial org.hibernate.boot.MetadataSources.<init>:(Lorg/hibernate/service/ServiceRegistry;)V
astore 2
start local 2 1: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.hbmXmlFiles:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs org.hibernate.service.ServiceRegistry org.hibernate.boot.MetadataSources top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 2
aload 3
invokevirtual org.hibernate.boot.MetadataSources.addFile:(Ljava/lang/String;)Lorg/hibernate/boot/MetadataSources;
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.jarFiles:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals:
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 2
new java.io.File
dup
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual org.hibernate.boot.MetadataSources.addJar:(Ljava/io/File;)Lorg/hibernate/boot/MetadataSources;
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 2
invokevirtual org.hibernate.boot.MetadataSources.getMetadataBuilder:()Lorg/hibernate/boot/MetadataBuilder;
astore 3
start local 3 10: aload 1
ldc Lorg/hibernate/boot/registry/selector/spi/StrategySelector;
invokeinterface org.hibernate.service.ServiceRegistry.getService:(Ljava/lang/Class;)Lorg/hibernate/service/Service;
checkcast org.hibernate.boot.registry.selector.spi.StrategySelector
astore 4
start local 4 11: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.implicitNamingStrategyImplName:Ljava/lang/String;
ifnull 18
12: aload 3
13: aload 4
14: ldc Lorg/hibernate/boot/model/naming/ImplicitNamingStrategy;
15: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.implicitNamingStrategyImplName:Ljava/lang/String;
16: invokeinterface org.hibernate.boot.registry.selector.spi.StrategySelector.resolveStrategy:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.boot.model.naming.ImplicitNamingStrategy
17: invokeinterface org.hibernate.boot.MetadataBuilder.applyImplicitNamingStrategy:(Lorg/hibernate/boot/model/naming/ImplicitNamingStrategy;)Lorg/hibernate/boot/MetadataBuilder;
pop
18: StackMap locals: org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs org.hibernate.service.ServiceRegistry org.hibernate.boot.MetadataSources org.hibernate.boot.MetadataBuilder org.hibernate.boot.registry.selector.spi.StrategySelector
StackMap stack:
aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.physicalNamingStrategyImplName:Ljava/lang/String;
ifnull 25
19: aload 3
20: aload 4
21: ldc Lorg/hibernate/boot/model/naming/PhysicalNamingStrategy;
22: aload 0
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.physicalNamingStrategyImplName:Ljava/lang/String;
23: invokeinterface org.hibernate.boot.registry.selector.spi.StrategySelector.resolveStrategy:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.boot.model.naming.PhysicalNamingStrategy
24: invokeinterface org.hibernate.boot.MetadataBuilder.applyPhysicalNamingStrategy:(Lorg/hibernate/boot/model/naming/PhysicalNamingStrategy;)Lorg/hibernate/boot/MetadataBuilder;
pop
25: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.hibernate.boot.MetadataBuilder.build:()Lorg/hibernate/boot/Metadata;
checkcast org.hibernate.boot.spi.MetadataImplementor
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 parsedArgs Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
0 26 1 serviceRegistry Lorg/hibernate/service/ServiceRegistry;
1 26 2 metadataSources Lorg/hibernate/boot/MetadataSources;
3 4 3 filename Ljava/lang/String;
7 8 3 filename Ljava/lang/String;
10 26 3 metadataBuilder Lorg/hibernate/boot/MetadataBuilder;
11 26 4 strategySelector Lorg/hibernate/boot/registry/selector/spi/StrategySelector;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
parsedArgs
serviceRegistry
public static org.hibernate.boot.spi.MetadataImplementor buildMetadataFromMainArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/hibernate/boot/spi/MetadataImplementor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.parseCommandLineArgs:([Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
astore 1
start local 1 1: aload 1
invokestatic org.hibernate.tool.hbm2ddl.SchemaUpdate.buildStandardServiceRegistry:(Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;)Lorg/hibernate/boot/registry/StandardServiceRegistry;
astore 2
start local 2 2: aload 1
aload 2
invokestatic org.hibernate.tool.hbm2ddl.SchemaUpdate.buildMetadata:(Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/boot/spi/MetadataImplementor;
astore 4
3: aload 2
invokestatic org.hibernate.boot.registry.StandardServiceRegistryBuilder.destroy:(Lorg/hibernate/service/ServiceRegistry;)V
4: aload 4
areturn
5: StackMap locals: java.lang.String[] org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs org.hibernate.boot.registry.StandardServiceRegistry
StackMap stack: java.lang.Throwable
astore 3
6: aload 2
invokestatic org.hibernate.boot.registry.StandardServiceRegistryBuilder.destroy:(Lorg/hibernate/service/ServiceRegistry;)V
7: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 args [Ljava/lang/String;
1 8 1 commandLineArgs Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
2 8 2 serviceRegistry Lorg/hibernate/boot/registry/StandardServiceRegistry;
Exception table:
from to target type
2 3 5 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "SchemaUpdate.java"
NestMembers:
org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs
InnerClasses:
private CommandLineArgs = org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs of org.hibernate.tool.hbm2ddl.SchemaUpdate