public class org.hibernate.mapping.PrimaryKey extends org.hibernate.mapping.Constraint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.mapping.PrimaryKey
super_class: org.hibernate.mapping.Constraint
{
private static final org.jboss.logging.Logger log;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/mapping/PrimaryKey;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.mapping.PrimaryKey.log:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.mapping.Table);
descriptor: (Lorg/hibernate/mapping/Table;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.hibernate.mapping.Constraint.<init>:()V
1: aload 0
aload 1
invokevirtual org.hibernate.mapping.PrimaryKey.setTable:(Lorg/hibernate/mapping/Table;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/PrimaryKey;
0 3 1 table Lorg/hibernate/mapping/Table;
MethodParameters:
Name Flags
table
public void addColumn(org.hibernate.mapping.Column);
descriptor: (Lorg/hibernate/mapping/Column;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getColumnIterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 10
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
astore 3
start local 3 3: aload 3
invokevirtual org.hibernate.mapping.Column.getCanonicalName:()Ljava/lang/String;
aload 1
invokevirtual org.hibernate.mapping.Column.getCanonicalName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
4: aload 3
iconst_0
invokevirtual org.hibernate.mapping.Column.setNullable:(Z)V
5: getstatic org.hibernate.mapping.PrimaryKey.log:Lorg/jboss/logging/Logger;
6: ldc "Forcing column [%s] to be non-null as it is part of the primary key for table [%s]"
7: aload 1
invokevirtual org.hibernate.mapping.Column.getCanonicalName:()Ljava/lang/String;
8: aload 0
aload 1
invokevirtual org.hibernate.mapping.PrimaryKey.getTableNameForLogging:(Lorg/hibernate/mapping/Column;)Ljava/lang/String;
9: invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aload 0
aload 1
invokespecial org.hibernate.mapping.Constraint.addColumn:(Lorg/hibernate/mapping/Column;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/hibernate/mapping/PrimaryKey;
0 13 1 column Lorg/hibernate/mapping/Column;
1 13 2 columnIterator Ljava/util/Iterator<Lorg/hibernate/mapping/Column;>;
3 10 3 next Lorg/hibernate/mapping/Column;
MethodParameters:
Name Flags
column
protected java.lang.String getTableNameForLogging(org.hibernate.mapping.Column);
descriptor: (Lorg/hibernate/mapping/Column;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getTable:()Lorg/hibernate/mapping/Table;
ifnull 4
1: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getNameIdentifier:()Lorg/hibernate/boot/model/naming/Identifier;
ifnull 3
2: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getNameIdentifier:()Lorg/hibernate/boot/model/naming/Identifier;
invokevirtual org.hibernate.boot.model.naming.Identifier.getCanonicalName:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
ldc "<unknown>"
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.hibernate.mapping.Column.getValue:()Lorg/hibernate/mapping/Value;
ifnull 6
aload 1
invokevirtual org.hibernate.mapping.Column.getValue:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getTable:()Lorg/hibernate/mapping/Table;
ifnull 6
5: aload 1
invokevirtual org.hibernate.mapping.Column.getValue:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getNameIdentifier:()Lorg/hibernate/boot/model/naming/Identifier;
invokevirtual org.hibernate.boot.model.naming.Identifier.getCanonicalName:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
ldc "<unknown>"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/mapping/PrimaryKey;
0 7 1 column Lorg/hibernate/mapping/Column;
MethodParameters:
Name Flags
column
public java.lang.String sqlConstraintString(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "primary key ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnIterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 6
3: StackMap locals: java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
aload 1
invokevirtual org.hibernate.mapping.Column.getQuotedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 6
5: aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/mapping/PrimaryKey;
0 8 1 dialect Lorg/hibernate/dialect/Dialect;
1 8 2 buf Ljava/lang/StringBuilder;
2 8 3 iter Ljava/util/Iterator;
MethodParameters:
Name Flags
dialect
public java.lang.String sqlConstraintString(org.hibernate.dialect.Dialect, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
1: aload 1
aload 2
invokevirtual org.hibernate.dialect.Dialect.getAddPrimaryKeyConstraintString:(Ljava/lang/String;)Ljava/lang/String;
2: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: astore 5
start local 5 5: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getColumnIterator:()Ljava/util/Iterator;
astore 6
start local 6 6: goto 10
7: StackMap locals: java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 5
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
aload 1
invokevirtual org.hibernate.mapping.Column.getQuotedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
9: aload 5
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: aload 5
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 12 0 this Lorg/hibernate/mapping/PrimaryKey;
0 12 1 dialect Lorg/hibernate/dialect/Dialect;
0 12 2 constraintName Ljava/lang/String;
0 12 3 defaultCatalog Ljava/lang/String;
0 12 4 defaultSchema Ljava/lang/String;
5 12 5 buf Ljava/lang/StringBuilder;
6 12 6 iter Ljava/util/Iterator;
MethodParameters:
Name Flags
dialect
constraintName
defaultCatalog
defaultSchema
public java.lang.String generatedConstraintNamePrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "PK_"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/PrimaryKey;
public java.lang.String getExportIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getTable:()Lorg/hibernate/mapping/Table;
invokevirtual org.hibernate.mapping.Table.getName:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "PK-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.mapping.PrimaryKey.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/PrimaryKey;
}
SourceFile: "PrimaryKey.java"