public class org.hibernate.dialect.unique.DB2UniqueDelegate extends org.hibernate.dialect.unique.DefaultUniqueDelegate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.dialect.unique.DB2UniqueDelegate
super_class: org.hibernate.dialect.unique.DefaultUniqueDelegate
{
public void <init>(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.dialect.unique.DefaultUniqueDelegate.<init>:(Lorg/hibernate/dialect/Dialect;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/dialect/unique/DB2UniqueDelegate;
0 2 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public java.lang.String getAlterTableToAddUniqueKeyCommand(org.hibernate.mapping.UniqueKey, org.hibernate.boot.Metadata);
descriptor: (Lorg/hibernate/mapping/UniqueKey;Lorg/hibernate/boot/Metadata;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.hibernate.dialect.unique.DB2UniqueDelegate.hasNullable:(Lorg/hibernate/mapping/UniqueKey;)Z
ifeq 9
1: aload 0
getfield org.hibernate.dialect.unique.DB2UniqueDelegate.dialect:Lorg/hibernate/dialect/Dialect;
2: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.getName:()Ljava/lang/String;
3: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.getTable:()Lorg/hibernate/mapping/Table;
4: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.columnIterator:()Ljava/util/Iterator;
5: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.getColumnOrderMap:()Ljava/util/Map;
6: iconst_1
7: aload 2
8: invokestatic org.hibernate.mapping.Index.buildSqlCreateIndexString:(Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Lorg/hibernate/mapping/Table;Ljava/util/Iterator;Ljava/util/Map;ZLorg/hibernate/boot/Metadata;)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.hibernate.dialect.unique.DefaultUniqueDelegate.getAlterTableToAddUniqueKeyCommand:(Lorg/hibernate/mapping/UniqueKey;Lorg/hibernate/boot/Metadata;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/dialect/unique/DB2UniqueDelegate;
0 10 1 uniqueKey Lorg/hibernate/mapping/UniqueKey;
0 10 2 metadata Lorg/hibernate/boot/Metadata;
MethodParameters:
Name Flags
uniqueKey
metadata
public java.lang.String getAlterTableToDropUniqueKeyCommand(org.hibernate.mapping.UniqueKey, org.hibernate.boot.Metadata);
descriptor: (Lorg/hibernate/mapping/UniqueKey;Lorg/hibernate/boot/Metadata;)Ljava/lang/String;
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
invokevirtual org.hibernate.dialect.unique.DB2UniqueDelegate.hasNullable:(Lorg/hibernate/mapping/UniqueKey;)Z
ifeq 7
1: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.getName:()Ljava/lang/String;
2: aload 2
invokeinterface org.hibernate.boot.Metadata.getDatabase:()Lorg/hibernate/boot/model/relational/Database;
invokevirtual org.hibernate.boot.model.relational.Database.getJdbcEnvironment:()Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getQualifiedObjectNameFormatter:()Lorg/hibernate/engine/jdbc/env/spi/QualifiedObjectNameFormatter;
3: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getQualifiedTableName:()Lorg/hibernate/boot/model/relational/QualifiedTableName;
4: aload 2
invokeinterface org.hibernate.boot.Metadata.getDatabase:()Lorg/hibernate/boot/model/relational/Database;
invokevirtual org.hibernate.boot.model.relational.Database.getJdbcEnvironment:()Lorg/hibernate/engine/jdbc/env/spi/JdbcEnvironment;
invokeinterface org.hibernate.engine.jdbc.env.spi.JdbcEnvironment.getDialect:()Lorg/hibernate/dialect/Dialect;
5: invokeinterface org.hibernate.engine.jdbc.env.spi.QualifiedObjectNameFormatter.format:(Lorg/hibernate/boot/model/relational/QualifiedTableName;Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
6: invokestatic org.hibernate.mapping.Index.buildSqlDropIndexString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.hibernate.dialect.unique.DefaultUniqueDelegate.getAlterTableToDropUniqueKeyCommand:(Lorg/hibernate/mapping/UniqueKey;Lorg/hibernate/boot/Metadata;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/dialect/unique/DB2UniqueDelegate;
0 8 1 uniqueKey Lorg/hibernate/mapping/UniqueKey;
0 8 2 metadata Lorg/hibernate/boot/Metadata;
MethodParameters:
Name Flags
uniqueKey
metadata
private boolean hasNullable(org.hibernate.mapping.UniqueKey);
descriptor: (Lorg/hibernate/mapping/UniqueKey;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.hibernate.mapping.UniqueKey.columnIterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
invokevirtual org.hibernate.mapping.Column.isNullable:()Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/dialect/unique/DB2UniqueDelegate;
0 6 1 uniqueKey Lorg/hibernate/mapping/UniqueKey;
1 6 2 iter Ljava/util/Iterator<Lorg/hibernate/mapping/Column;>;
MethodParameters:
Name Flags
uniqueKey
}
SourceFile: "DB2UniqueDelegate.java"